diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-14 16:11:39 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-14 16:11:39 (GMT) |
commit | 567edf0e9a8f4dcaa82ceb0ae6a586867e3687f5 (patch) | |
tree | 314c6dff8d12ca7191960d97a18881e18781dd17 /Source/cmSystemTools.h | |
parent | 7c73456401724698a1a4675d475d953d17558911 (diff) | |
download | CMake-567edf0e9a8f4dcaa82ceb0ae6a586867e3687f5.zip CMake-567edf0e9a8f4dcaa82ceb0ae6a586867e3687f5.tar.gz CMake-567edf0e9a8f4dcaa82ceb0ae6a586867e3687f5.tar.bz2 |
ENH: overhaul of RunCommand on windows, if only win32 had popen...
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index d9e4796..9cbd62a 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -247,10 +247,10 @@ public: * If verbose is false, no user-viewable output from the program * being run will be generated. */ - static bool RunCommand(const char* command, std::string& output, + static bool RunCommand(const char* command, std::string& output, const char* directory = 0, bool verbose = true); static bool RunCommand(const char* command, std::string& output, - int &retVal, bool verbose = true); + int &retVal, const char* directory = 0, bool verbose = true); ///! change directory the the directory specified static int ChangeDirectory(const char* dir); |