Bug - Exec

- The execute command was not putting spaces between combined arguments
  when constructing a command line.
This commit is contained in:
Paul Beckingham 2011-08-28 16:44:31 -04:00
parent aace091329
commit 4d328a1e46

View file

@ -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 ());