aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/util/process.cc')
-rw-r--r--paludis/util/process.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/paludis/util/process.cc b/paludis/util/process.cc
index 8e971f5ba..eebf145ce 100644
--- a/paludis/util/process.cc
+++ b/paludis/util/process.cc
@@ -93,6 +93,12 @@ ProcessCommand::prepend_args(const std::initializer_list<std::string> & l)
}
void
+ProcessCommand::append_args(const std::initializer_list<std::string> & l)
+{
+ _imp->args.insert(_imp->args.end(), l);
+}
+
+void
ProcessCommand::exec()
{
if (! _imp->args_string.empty())