summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2004-07-02 20:27:46 (GMT)
committerBrad King <brad.king@kitware.com>2004-07-02 20:27:46 (GMT)
commit40a5bad9167dc9aca99a203aa0af4d2f41452de3 (patch)
treeeb043932e74c9294a9df74183027e8f4d40b133c /Source/cmSystemTools.h
parentb8917c7e6c6f7ccdd0d54480b9ece74a2aa6d07b (diff)
downloadCMake-40a5bad9167dc9aca99a203aa0af4d2f41452de3.zip
CMake-40a5bad9167dc9aca99a203aa0af4d2f41452de3.tar.gz
CMake-40a5bad9167dc9aca99a203aa0af4d2f41452de3.tar.bz2
ENH: Made RunSingleCommand take a double as its timeout length.
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index f779ecc..061b9cc 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -191,7 +191,7 @@ public:
* function will return false.
*/
static bool RunSingleCommand(const char* command, std::string* output = 0,
- int* retVal = 0, const char* dir = 0, bool verbose = true, int timeout = 0);
+ int* retVal = 0, const char* dir = 0, bool verbose = true, double timeout = 0.0);
/**
* Parse arguments out of a single string command