| ... | @@ -866,9 +866,9 @@ fn spawnChildAndCollect( | ... | @@ -866,9 +866,9 @@ fn spawnChildAndCollect( |
| 866 | child.request_resource_usage_statistics = true; | 866 | child.request_resource_usage_statistics = true; |
| 867 | | 867 | |
| 868 | child.stdin_behavior = switch (self.stdio) { | 868 | child.stdin_behavior = switch (self.stdio) { |
| 869 | .infer_from_args => if (has_side_effects) .Inherit else .Close, | 869 | .infer_from_args => if (has_side_effects) .Inherit else .Ignore, |
| 870 | .inherit => .Inherit, | 870 | .inherit => .Inherit, |
| 871 | .check => .Close, | 871 | .check => .Ignore, |
| 872 | .zig_test => .Pipe, | 872 | .zig_test => .Pipe, |
| 873 | }; | 873 | }; |
| 874 | child.stdout_behavior = switch (self.stdio) { | 874 | child.stdout_behavior = switch (self.stdio) { |