diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-10-25 13:16:05 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-10-25 13:16:05 -0400 |
commit | 626be7884ad0261b0e4ca52fd58a0c8d79a86ae6 (patch) | |
tree | b4a25cdcfdb469bd27f2e6b203f723076df68918 /Source/cmSystemTools.h | |
parent | a3798b2cbf88fdbda1cb010388bc98f394a18945 (diff) | |
download | cmake-626be7884ad0261b0e4ca52fd58a0c8d79a86ae6.tar.gz |
FIX: go back to not trying to handle spaces in the path for run single command and comment it so that people know to call the right thing
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index a064a31f6a..cecd065849 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -188,6 +188,11 @@ public: * exit code will be stored. If the retVal is not specified and * the program exits with a code other than 0, then the this * function will return false. + * + * If the command has spaces in the path the caller MUST call + * cmSystemTools::ConvertToRunCommandPath on the command before passing + * it into this function or it will not work. The command must be correctly + * escaped for this to with spaces. */ static bool RunSingleCommand(const char* command, std::string* output = 0, int* retVal = 0, const char* dir = 0, bool verbose = true, double timeout = 0.0); |