diff options
Diffstat (limited to 'rld-process.cpp')
-rw-r--r-- | rld-process.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/rld-process.cpp b/rld-process.cpp index bb2f8a4..2174cce 100644 --- a/rld-process.cpp +++ b/rld-process.cpp @@ -88,6 +88,10 @@ namespace rld std::string name = temp; + name = rld::find_replace (name, + RLD_PATH_SEPARATOR_STR RLD_PATH_SEPARATOR_STR, + RLD_PATH_SEPARATOR_STR); + tempfiles.push_back (name); return name; @@ -334,6 +338,19 @@ namespace rld temporaries.clean_up (); } + void + args_append (arg_container& args, const std::string& str) + { + rld::strings ss; + rld::split (ss, str); + for (rld::strings::iterator ssi = ss.begin (); + ssi != ss.end (); + ++ssi) + { + args.push_back (*ssi); + } + } + status execute (const std::string& pname, const std::string& command, |