diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-05-03 11:27:42 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-05-03 11:27:42 -0400 |
| commit | cceaa73ff26b042d0face50ed9798ef8db36deda (patch) | |
| tree | 8a6585185e2b85b4232971615a2292c4150ac858 /std/build.zig | |
| parent | 3b921afc69139c7290d04cd33a95cb221d5d481f (diff) | |
| download | zig-cceaa73ff26b042d0face50ed9798ef8db36deda.tar.gz zig-cceaa73ff26b042d0face50ed9798ef8db36deda.zip | |
zig build: inherit stdin for running commands
Diffstat (limited to 'std/build.zig')
| -rw-r--r-- | std/build.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
