aboutsummaryrefslogtreecommitdiff
path: root/libbutl/process-run.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-10-25 10:24:53 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2022-10-25 17:30:37 +0300
commitb7f32cea30174e391027fecc9d431ca16b2f87c2 (patch)
treee9fe8c29bf361fa96b9a79243bffde0d1405b6e8 /libbutl/process-run.cxx
parent397d710073eae9ad282bc0df9482a41d621acde5 (diff)
All passing to process ownership to one end of pipe
Diffstat (limited to 'libbutl/process-run.cxx')
-rw-r--r--libbutl/process-run.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/process-run.cxx b/libbutl/process-run.cxx
index a5014f6..b044ea1 100644
--- a/libbutl/process-run.cxx
+++ b/libbutl/process-run.cxx
@@ -24,7 +24,7 @@ namespace butl
try
{
return process (pp, cmd,
- in, out, err,
+ move (in), move (out), move (err),
cwd != nullptr ? cwd->string ().c_str () : nullptr,
envvars);
}