MCPcopy Create free account
hub / github.com/apache/brpc / read_command_output

Function read_command_output

src/butil/popen.cpp:196–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196int read_command_output(std::ostream& os, const char* cmd) {
197#if !defined(OS_LINUX)
198 return read_command_output_through_popen(os, cmd);
199#else
200 return FLAGS_run_command_through_clone
201 ? read_command_output_through_clone(os, cmd)
202 : read_command_output_through_popen(os, cmd);
203#endif
204}
205
206} // namespace butil

Callers 10

TEST_FFunction · 0.85
JeControlProfileFunction · 0.85
ExtractSymbolsFromBinaryFunction · 0.85
DisplayResultFunction · 0.85
default_methodMethod · 0.85
read_proc_statusFunction · 0.85
read_proc_memoryFunction · 0.85
read_load_averageFunction · 0.85
ReadVersionMethod · 0.85
ReadCommandLineFunction · 0.85

Tested by 1

TEST_FFunction · 0.68