ENH: Made RunSingleCommand take a double as its timeout length.
This commit is contained in:
parent
b8917c7e6c
commit
40a5bad916
|
@ -420,7 +420,7 @@ bool cmSystemTools::RunSingleCommand(
|
|||
int *retVal,
|
||||
const char* dir,
|
||||
bool verbose,
|
||||
int timeout)
|
||||
double timeout)
|
||||
{
|
||||
if(s_DisableRunCommandOutput)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue