Bug - Exec
- The execute command was not putting spaces between combined arguments when constructing a command line.
This commit is contained in:
@@ -53,7 +53,12 @@ int CmdExec::execute (std::string& output)
|
||||
{
|
||||
if (arg != context.a3.begin () &&
|
||||
arg->_raw != "execute")
|
||||
{
|
||||
if (command_line.length ())
|
||||
command_line += " ";
|
||||
|
||||
command_line += arg->_raw;
|
||||
}
|
||||
}
|
||||
|
||||
return system (command_line.c_str ());
|
||||
|
||||
Reference in New Issue
Block a user