aboutsummaryrefslogtreecommitdiff
path: root/build2/utility.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-01-08 11:07:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-01-08 11:07:17 +0200
commitf6c3788de3d148c90aba705d045b1d92e7fea20a (patch)
tree3e99d4a3d87ab4f6c68cbfd0060e28b465bee4de /build2/utility.cxx
parentf1b3c0e86daec1f5b7ed81a60edbe548fcbb5f42 (diff)
Complete runtime/stdlib detection
Diffstat (limited to 'build2/utility.cxx')
-rw-r--r--build2/utility.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/utility.cxx b/build2/utility.cxx
index 280edd3..4196b03 100644
--- a/build2/utility.cxx
+++ b/build2/utility.cxx
@@ -210,13 +210,14 @@ namespace build2
process
run_start (const process_path& pp,
const char* args[],
+ int in,
int out,
bool err,
const dir_path& cwd)
try
{
assert (args[0] == pp.recall_string ());
- return process (pp, args, 0, out, (err ? 2 : 1), cwd.string ().c_str ());
+ return process (pp, args, in, out, (err ? 2 : 1), cwd.string ().c_str ());
}
catch (const process_error& e)
{