diff options
Diffstat (limited to 'base/process_util.h')
-rw-r--r-- | base/process_util.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/base/process_util.h b/base/process_util.h index 7801d4c..aaa8cbb 100644 --- a/base/process_util.h +++ b/base/process_util.h @@ -139,20 +139,12 @@ bool LaunchApp(const std::vector<std::string>& argv, bool LaunchApp(const CommandLine& cl, bool wait, bool start_hidden, ProcessHandle* process_handle); -#if defined(OS_WIN) -// Executes the application specified by |cmd_line| and copies the contents -// printed to the standard output to |output|, which should be non NULL. -// Blocks until the started process terminates. -// Returns true if the application was run successfully, false otherwise. -bool GetAppOutput(const std::wstring& cmd_line, std::string* output); -#elif defined(OS_POSIX) // Executes the application specified by |cl| and wait for it to exit. Stores // the output (stdout) in |output|. Redirects stderr to /dev/null. Returns true // on success (application launched and exited cleanly, with exit code // indicating success). |output| is modified only when the function finished // successfully. bool GetAppOutput(const CommandLine& cl, std::string* output); -#endif // Used to filter processes by process ID. class ProcessFilter { |