From 67617fc444600cad5de2338f4d6f49d7a46fd915 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 12 Feb 2020 13:54:40 +0200 Subject: Add convenience run_start() overload --- libbuild2/cc/gcc.cxx | 2 +- libbuild2/cc/guess.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libbuild2/cc') diff --git a/libbuild2/cc/gcc.cxx b/libbuild2/cc/gcc.cxx index 7c32a65..84d4e01 100644 --- a/libbuild2/cc/gcc.cxx +++ b/libbuild2/cc/gcc.cxx @@ -243,7 +243,7 @@ namespace build2 // Open pipe to stdout. // process pr (run_start (xc, - args.data (), + args, 0, /* stdin */ -1 /* stdout */)); diff --git a/libbuild2/cc/guess.cxx b/libbuild2/cc/guess.cxx index f2a6189..c47e5a1 100644 --- a/libbuild2/cc/guess.cxx +++ b/libbuild2/cc/guess.cxx @@ -184,7 +184,7 @@ namespace build2 // process pr (run_start (3 /* verbosity */, xp, - args.data (), + args, -1 /* stdin */, -1 /* stdout */, false /* error */)); @@ -1942,7 +1942,7 @@ namespace build2 // process pr (run_start (3 /* verbosity */, xp, - args.data (), + args, -2 /* stdin (/dev/null) */, -1 /* stdout */, false /* error (2>&1) */)); -- cgit v1.1