CmdExec: Converted from CLI to CLI2.
This commit is contained in:
@@ -47,7 +47,7 @@ CmdExec::CmdExec ()
|
|||||||
int CmdExec::execute (std::string& output)
|
int CmdExec::execute (std::string& output)
|
||||||
{
|
{
|
||||||
std::string command_line;
|
std::string command_line;
|
||||||
join (command_line, " ", context.cli.getWords ());
|
join (command_line, " ", context.cli2.getWords ());
|
||||||
return system (command_line.c_str ());
|
return system (command_line.c_str ());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user