From 5b6d899bc6346ab9db41a6e82d7eeeeef13564af Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Mon, 30 Sep 2002 14:00:28 -0400 Subject: [PATCH] Set comspec substitute --- Source/ctest.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/ctest.cxx b/Source/ctest.cxx index 0852620458..191d7e1edc 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -275,6 +275,11 @@ int main (int argc, char *argv[]) { args.push_back(argv[i]); } + +#ifdef _WIN32 + std::string comspec = "cmw9xcom.exe"; + cmSystemTools::SetWindows9xComspecSubstitute(comspec.c_str()); +#endif for(unsigned int i=1; i < args.size(); ++i) {