diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-08 20:46:08 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-08 20:46:08 (GMT) |
commit | f5d95fb078ec48755762931fe2882ed1cbe1171e (patch) | |
tree | 945dca55d34b543db452c586aba0de863cf25cec /Source/cmWin32ProcessExecution.h | |
parent | c72462ffb1c75573e0d67a7101438a62bfc2fda1 (diff) | |
download | CMake-f5d95fb078ec48755762931fe2882ed1cbe1171e.zip CMake-f5d95fb078ec48755762931fe2882ed1cbe1171e.tar.gz CMake-f5d95fb078ec48755762931fe2882ed1cbe1171e.tar.bz2 |
Complete rework of makefile generators expect trouble
Diffstat (limited to 'Source/cmWin32ProcessExecution.h')
-rw-r--r-- | Source/cmWin32ProcessExecution.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmWin32ProcessExecution.h b/Source/cmWin32ProcessExecution.h index 6dec659..ea38768 100644 --- a/Source/cmWin32ProcessExecution.h +++ b/Source/cmWin32ProcessExecution.h @@ -45,10 +45,13 @@ class cmWin32ProcessExecution public: cmWin32ProcessExecution() { + m_HideWindows = false; this->SetConsoleSpawn("w9xpopen.exe"); this->Initialize(); } - + ///! If true windows will be created hidden. + void SetHideWindows(bool v) { m_HideWindows = v; } + /** * Initialize the process execution datastructure. Do not call while * running the process. @@ -133,7 +136,7 @@ public: */ static bool BorlandRunCommand(const char* command, const char* dir, std::string& output, int& retVal, bool verbose, - int timeout); + int timeout, bool hideWindows); private: bool PrivateOpen(const char*, const char*, int, int); @@ -156,6 +159,7 @@ private: std::string m_Output; std::string m_ConsoleSpawn; bool m_Verbose; + bool m_HideWindows; }; |