Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: tools/gn/exec_process.h

Issue 646013003: GN: Capture and print stderr from exec_script (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Maybe fix windows compile Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/gn/exec_process.h
diff --git a/tools/gn/exec_process.h b/tools/gn/exec_process.h
new file mode 100644
index 0000000000000000000000000000000000000000..74622614819817c93f8003cb6c2c72a67641b5f8
--- /dev/null
+++ b/tools/gn/exec_process.h
@@ -0,0 +1,18 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include <string>
+
+namespace base {
+class CommandLine;
+class FilePath;
+}
+
+namespace internal {
+bool ExecProcess(const base::CommandLine& cmdline,
+ const base::FilePath& startup_dir,
+ std::string* std_out,
+ std::string* std_err,
+ int* exit_code);
+} // namespace internal
« no previous file with comments | « tools/gn/BUILD.gn ('k') | tools/gn/exec_process.cc » ('j') | tools/gn/exec_process_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698