diff --git a/Source/cmTryRunCommand.cxx b/Source/cmTryRunCommand.cxx index d65015d3a..88e26a1fb 100644 --- a/Source/cmTryRunCommand.cxx +++ b/Source/cmTryRunCommand.cxx @@ -89,7 +89,7 @@ bool cmTryRunCommand::InitialPass(std::vector const& argv) finalCommand = cmSystemTools::ConvertToOutputPath(fullPath.c_str()); finalCommand += runArgs; } - cmSystemTools::RunCommand(finalCommand.c_str(), output, retVal); + cmSystemTools::RunCommand(finalCommand.c_str(), output, retVal, false); // set the run var char retChar[1000]; sprintf(retChar,"%i",retVal);