Bug (missing quotes in execute command)

Fixed a bug where special characters within arguments passed to the
"execute" command needed to be escaped twice.
This commit is contained in:
Johannes Schlatow 2013-03-12 07:34:38 +01:00
parent e3afa04e2d
commit 0a8c54ae57

View file

@ -59,7 +59,7 @@ int CmdExec::execute (std::string& output)
if (command_line.length ())
command_line += " ";
command_line += arg->_raw;
command_line += "'" + arg->_raw + "'";
}
}