BUG: Need to escape spaces in custom command line arguments.

This commit is contained in:
Brad King 2006-09-21 15:35:41 -04:00
parent 45a44a70b3
commit 6d72bb5ae1
1 changed files with 1 additions and 1 deletions

View File

@ -2257,7 +2257,7 @@ std::string cmLocalGenerator::EscapeForShell(const char* str)
{
for(const char* c = str; *c; ++c)
{
if(*c == '\\' || *c == '\'' || *c == '"' || *c == ';')
if(*c == '\\' || *c == '\'' || *c == '"' || *c == ';' || *c == ' ')
{
result += "\\";
}