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:
@@ -59,7 +59,7 @@ int CmdExec::execute (std::string& output)
|
|||||||
if (command_line.length ())
|
if (command_line.length ())
|
||||||
command_line += " ";
|
command_line += " ";
|
||||||
|
|
||||||
command_line += arg->_raw;
|
command_line += "'" + arg->_raw + "'";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user