aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/process.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-27 18:44:13 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-27 18:44:13 +0000
commit899374110f3929278af84f575ebaeff039439bdb (patch)
tree226c78aba933655322da23e0d3065b6993b4d603 /paludis/util/process.cc
parenta269d8e9cae9b99b824b75d9a532c4f7edc730f2 (diff)
downloadpaludis-899374110f3929278af84f575ebaeff039439bdb.tar.gz
paludis-899374110f3929278af84f575ebaeff039439bdb.tar.xz
ProcessCommand::append_args
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())