diff options
author | marha <marha@users.sourceforge.net> | 2009-11-12 11:58:39 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-11-12 11:58:39 +0000 |
commit | 1453aad95c8667530a019787753015e71f730b92 (patch) | |
tree | 61e10e99ff4550c857804ee69e96c5b90df7b07d /tools/mhmake/src/build.cpp | |
parent | ad1a1db73c33e35fac0dd2be75b6fb588ef9fe40 (diff) | |
download | vcxsrv-1453aad95c8667530a019787753015e71f730b92.tar.gz vcxsrv-1453aad95c8667530a019787753015e71f730b92.tar.bz2 vcxsrv-1453aad95c8667530a019787753015e71f730b92.zip |
Solved problem when there are spaces in the commands to execute.
Fix suggested by David Lawler (djlawler@users.sourceforge.net)
Diffstat (limited to 'tools/mhmake/src/build.cpp')
-rw-r--r-- | tools/mhmake/src/build.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mhmake/src/build.cpp b/tools/mhmake/src/build.cpp index d869fd69b..a9437504f 100644 --- a/tools/mhmake/src/build.cpp +++ b/tools/mhmake/src/build.cpp @@ -998,7 +998,7 @@ bool OsExeCommand(const string &Command,const string &Params,bool IgnoreError,st {
string tmpCommand=Command.substr(ComSpec.size(),Command.size());
FullCommandLine=ComSpec;
- FullCommandLine+=QuoteFileName(tmpCommand)+Params;
+ FullCommandLine+=g_QuoteString+QuoteFileName(tmpCommand)+Params+g_QuoteString;
}
else
{
|