diff options
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 72c9015..6f89f94 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1470,9 +1470,9 @@ bool RunCommandViaPopen(const char* command, std::string commandInDir; if(dir) { - commandInDir = "cd "; + commandInDir = "cd \""; commandInDir += dir; - commandInDir += " && "; + commandInDir += "\" && "; commandInDir += command; } else |