| ... | @@ -993,7 +993,7 @@ fn spawnChildAndCollect( | ... | @@ -993,7 +993,7 @@ fn spawnChildAndCollect( |
| 993 | if (self.captured_stdout != null) child.stdout_behavior = .Pipe; | 993 | if (self.captured_stdout != null) child.stdout_behavior = .Pipe; |
| 994 | if (self.captured_stderr != null) child.stderr_behavior = .Pipe; | 994 | if (self.captured_stderr != null) child.stderr_behavior = .Pipe; |
| 995 | if (self.stdin != .none) { | 995 | if (self.stdin != .none) { |
| 996 | assert(child.stdin_behavior != .Inherit); | 996 | assert(self.stdio != .inherit); |
| 997 | child.stdin_behavior = .Pipe; | 997 | child.stdin_behavior = .Pipe; |
| 998 | } | 998 | } |
| 999 | | 999 | |