mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 00:08:56 +00:00
zig build: inherit stdin for running commands
This commit is contained in:
parent
3b921afc69
commit
cceaa73ff2
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user