From 5a488fc85050ba668e7e42e11a62924a32f58616 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 7 Dec 2001 14:31:28 -0500 Subject: [PATCH] ENH: convert to windows paths --- Source/cmaketest.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/cmaketest.cxx b/Source/cmaketest.cxx index 9fdfe4b19..99a6e6301 100644 --- a/Source/cmaketest.cxx +++ b/Source/cmaketest.cxx @@ -164,6 +164,10 @@ int main (int argc, char *argv[]) cmSystemTools::ChangeDirectory(cwd.c_str()); return 1; } + fullPath = cmSystemTools::EscapeSpaces(fullPath.c_str()); +#if defined(_WIN32) && !defined(__CYGWIN__) + cmSystemTools::ConvertToWindowsSlashes(fullPath); +#endif if (!cmSystemTools::RunCommand(fullPath.c_str(), output)) { std::cerr << "Error: " << fullPath.c_str() << " execution failed\n";