diff options
author | Brad King <brad.king@kitware.com> | 2013-10-18 20:22:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-19 11:25:43 (GMT) |
commit | 765d783972dbacc336d11803cccf56cdc9aac6c5 (patch) | |
tree | 4bc204bfdf18d96e6cf24e9e9724d4a2c13efcc6 /Source/cmSystemTools.h | |
parent | 52b80b2643acdd2f31582fe20773cc4c3740b9ad (diff) | |
download | CMake-765d783972dbacc336d11803cccf56cdc9aac6c5.zip CMake-765d783972dbacc336d11803cccf56cdc9aac6c5.tar.gz CMake-765d783972dbacc336d11803cccf56cdc9aac6c5.tar.bz2 |
cmSystemTools: Drop old RunCommand method
All calls to this method have been replaced by newer infrastructure.
Remove it and the supporting cmWin32ProcessExecution class.
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index cbc1140..07235da 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -191,23 +191,6 @@ public: static std::string ComputeStringMD5(const char* input); /** - * Run an executable command and put the stdout in output. - * A temporary file is created in the binaryDir for storing the - * output because windows does not have popen. - * - * If verbose is false, no user-viewable output from the program - * being run will be generated. - * - * If timeout is specified, the command will be terminated after - * timeout expires. - */ - static bool RunCommand(const char* command, std::string& output, - const char* directory = 0, - bool verbose = true, int timeout = 0); - static bool RunCommand(const char* command, std::string& output, - int &retVal, const char* directory = 0, - bool verbose = true, int timeout = 0); - /** * Run a single executable command * * Output is controlled with outputflag. If outputflag is OUTPUT_NONE, no @@ -312,14 +295,6 @@ public: */ static FileFormat GetFileFormat(const char* ext); - /** - * On Windows 9x we need a comspec (command.com) substitute to run - * programs correctly. This string has to be constant available - * through the running of program. This method does not create a copy. - */ - static void SetWindows9xComspecSubstitute(const char*); - static const char* GetWindows9xComspecSubstitute(); - /** Windows if this is true, the CreateProcess in RunCommand will * not show new consol windows when running programs. */ @@ -488,8 +463,6 @@ private: static void* s_ErrorCallbackClientData; static void* s_StdoutCallbackClientData; static void* s_InterruptCallbackClientData; - - static std::string s_Windows9xComspecSubstitute; }; #endif |