summaryrefslogtreecommitdiffstats
path: root/Source/cmTryRunCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-04 02:33:35 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-04 02:33:35 (GMT)
commit32c2ed2ef37990060238d2e136b255d7074f6ae4 (patch)
treecb330de428484b82ac30f0c5f1761bd6777aa31e /Source/cmTryRunCommand.cxx
parent8a31793c89be483bcf6d44fff0785b894172e35a (diff)
downloadCMake-32c2ed2ef37990060238d2e136b255d7074f6ae4.zip
CMake-32c2ed2ef37990060238d2e136b255d7074f6ae4.tar.gz
CMake-32c2ed2ef37990060238d2e136b255d7074f6ae4.tar.bz2
ENH: Use the new signature
Diffstat (limited to 'Source/cmTryRunCommand.cxx')
-rw-r--r--Source/cmTryRunCommand.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmTryRunCommand.cxx b/Source/cmTryRunCommand.cxx
index d1dd9fc..f8c039e 100644
--- a/Source/cmTryRunCommand.cxx
+++ b/Source/cmTryRunCommand.cxx
@@ -99,7 +99,9 @@ bool cmTryRunCommand::InitialPass(std::vector<std::string> const& argv)
{
finalCommand += runArgs;
}
- cmSystemTools::RunCommand(finalCommand.c_str(), output, retVal, 0, false);
+ int timeout = 0;
+ cmSystemTools::RunSingleCommand(finalCommand.c_str(), &output, &retVal,
+ 0, false, timeout);
// set the run var
char retChar[1000];
sprintf(retChar,"%i",retVal);