summaryrefslogtreecommitdiffstats
path: root/Tests/Complex/Executable/complex.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-10-25 17:16:05 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-10-25 17:16:05 (GMT)
commit626be7884ad0261b0e4ca52fd58a0c8d79a86ae6 (patch)
treeb4a25cdcfdb469bd27f2e6b203f723076df68918 /Tests/Complex/Executable/complex.cxx
parenta3798b2cbf88fdbda1cb010388bc98f394a18945 (diff)
downloadCMake-626be7884ad0261b0e4ca52fd58a0c8d79a86ae6.zip
CMake-626be7884ad0261b0e4ca52fd58a0c8d79a86ae6.tar.gz
CMake-626be7884ad0261b0e4ca52fd58a0c8d79a86ae6.tar.bz2
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 'Tests/Complex/Executable/complex.cxx')
-rw-r--r--Tests/Complex/Executable/complex.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx
index 441a291..e0b1eae 100644
--- a/Tests/Complex/Executable/complex.cxx
+++ b/Tests/Complex/Executable/complex.cxx
@@ -117,7 +117,8 @@ int main()
exe += "A";
exe += cmSystemTools::GetExecutableExtension();
int ret;
- std::string errorMessage;
+ std::string errorMessage;
+ exe = cmSystemTools::ConvertToRunCommandPath(exe.c_str());
if(cmSystemTools::RunSingleCommand(exe.c_str(), 0, &ret))
{
if(ret != 10)