From cceaa73ff26b042d0face50ed9798ef8db36deda Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 3 May 2017 11:27:42 -0400 Subject: zig build: inherit stdin for running commands --- std/build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/build.zig b/std/build.zig index e6a1c06f20..6002c99fe8 100644 --- a/std/build.zig +++ b/std/build.zig @@ -539,7 +539,7 @@ pub const Builder = struct { } var child = os.ChildProcess.spawn(exe_path, args, cwd, env_map, - StdIo.Ignore, StdIo.Inherit, StdIo.Inherit, self.allocator) %% |err| + StdIo.Inherit, StdIo.Inherit, StdIo.Inherit, self.allocator) %% |err| { %%io.stderr.printf("Unable to spawn {}: {}\n", exe_path, @errorName(err)); return err; -- cgit v1.2.3