| author | |
| committer | |
| log | 7221e9560ef03e8298f8fe8f9b1610459fceb5c7 |
| tree | d3350b091e17a3f84a5ea6b933df6c5e7c3c4542 |
| parent | 60eabc0eca5f678d0c6569a9565b1d6141459518 |
Instead, ignore stdin. Otherwise this interfers with a sub-process which
expects to have a stdin file descriptor open.1 files changed, 2 insertions(+), 2 deletions(-)
lib/std/Build/RunStep.zig+2-2| ... | ... | @@ -866,9 +866,9 @@ fn spawnChildAndCollect( |
| 866 | 866 | child.request_resource_usage_statistics = true; |
| 867 | 867 | |
| 868 | 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 | 870 | .inherit => .Inherit, |
| 871 | .check => .Close, | |
| 871 | .check => .Ignore, | |
| 872 | 872 | .zig_test => .Pipe, |
| 873 | 873 | }; |
| 874 | 874 | child.stdout_behavior = switch (self.stdio) { |