mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-27 12:16:21 +02:00
text: Removed local join/split implementation
This commit is contained in:
parent
6cdb0d4b95
commit
3c6ce4e0fc
11 changed files with 18 additions and 277 deletions
|
@ -29,7 +29,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <Context.h>
|
||||
#include <i18n.h>
|
||||
#include <text.h>
|
||||
#include <shared.h>
|
||||
|
||||
extern Context context;
|
||||
|
||||
|
@ -52,9 +52,7 @@ CmdExec::CmdExec ()
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int CmdExec::execute (std::string&)
|
||||
{
|
||||
std::string command_line;
|
||||
join (command_line, " ", context.cli2.getWords ());
|
||||
return system (command_line.c_str ());
|
||||
return system (join (" ", context.cli2.getWords ()).c_str ());
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue