Index: runtime/bin/process.h |
diff --git a/runtime/bin/process.h b/runtime/bin/process.h |
index 189212286f9362fd3fe7bb3c44e75a627f110dae..b6babd30e6546dbcbe0e5d6bb1ee8c98adae03e9 100644 |
--- a/runtime/bin/process.h |
+++ b/runtime/bin/process.h |
@@ -77,6 +77,14 @@ enum ProcessSignals { |
}; |
+// To be kept in sync with ProcessStartMode consts in sdk/lib/io/process.dart. |
+enum ProcessStartMode { |
+ kNormal = 0, |
+ kDetached = 1, |
+ kDetachedWithStdio = 2, |
+}; |
+ |
+ |
class Process { |
public: |
// Start a new process providing access to stdin, stdout, stderr and |
@@ -87,7 +95,7 @@ class Process { |
const char* working_directory, |
char* environment[], |
intptr_t environment_length, |
- bool detached, |
+ ProcessStartMode mode, |
intptr_t* in, |
intptr_t* out, |
intptr_t* err, |