diff options
Diffstat (limited to 'src/subprocess-win32.cc')
-rw-r--r-- | src/subprocess-win32.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/subprocess-win32.cc b/src/subprocess-win32.cc index 1b230b6..c9607e1 100644 --- a/src/subprocess-win32.cc +++ b/src/subprocess-win32.cc @@ -14,6 +14,7 @@ #include "subprocess.h" +#include <assert.h> #include <stdio.h> #include <algorithm> @@ -213,7 +214,9 @@ BOOL WINAPI SubprocessSet::NotifyInterrupted(DWORD dwCtrlType) { return FALSE; } -Subprocess *SubprocessSet::Add(const string& command) { +Subprocess *SubprocessSet::Add(const string& command, bool use_console) { + assert(!use_console); // We don't support this yet on Windows. + Subprocess *subprocess = new Subprocess; if (!subprocess->Start(this, command)) { delete subprocess; |