| Index: base/process/launch_posix.cc
|
| diff --git a/base/process/launch_posix.cc b/base/process/launch_posix.cc
|
| index 44eafcfb05a72e20f7edac2d532fc7003f08ea5b..2184051552ddb708feaba23fa70d3b3f3837cd0d 100644
|
| --- a/base/process/launch_posix.cc
|
| +++ b/base/process/launch_posix.cc
|
| @@ -663,6 +663,14 @@ bool GetAppOutputAndError(const CommandLine& cl, std::string* output) {
|
| return result && exit_code == EXIT_SUCCESS;
|
| }
|
|
|
| +bool GetAppOutputAndError(const std::vector<std::string>& argv,
|
| + std::string* output) {
|
| + int exit_code;
|
| + bool result =
|
| + GetAppOutputInternal(argv, nullptr, true, output, true, &exit_code);
|
| + return result && exit_code == EXIT_SUCCESS;
|
| +}
|
| +
|
| bool GetAppOutputWithExitCode(const CommandLine& cl,
|
| std::string* output,
|
| int* exit_code) {
|
|
|