diff options
Diffstat (limited to 'Tests/Complex/Executable/complex.cxx')
-rw-r--r-- | Tests/Complex/Executable/complex.cxx | 3 |
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) |