summaryrefslogtreecommitdiff
path: root/base/process/launch.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/process/launch.h')
-rw-r--r--base/process/launch.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/process/launch.h b/base/process/launch.h
index be8f6e73b9..99a7280cb3 100644
--- a/base/process/launch.h
+++ b/base/process/launch.h
@@ -262,6 +262,11 @@ BASE_EXPORT bool GetAppOutput(const StringPiece16& cl, std::string* output);
BASE_EXPORT bool GetAppOutput(const std::vector<std::string>& argv,
std::string* output);
+// Like the above POSIX-specific version of GetAppOutput, but also includes
+// stderr.
+BASE_EXPORT bool GetAppOutputAndError(const std::vector<std::string>& argv,
+ std::string* output);
+
// A version of |GetAppOutput()| which also returns the exit code of the
// executed command. Returns true if the application runs and exits cleanly. If
// this is the case the exit code of the application is available in