| ... | ... | @@ -29,6 +29,8 @@ pub const RunStep = struct { |
| 29 | 29 | stdout_action: StdIoAction = .inherit, |
| 30 | 30 | stderr_action: StdIoAction = .inherit, |
| 31 | 31 | |
| 32 | stdin_behavior: std.ChildProcess.StdIo = .Inherit, |
| 33 | |
| 32 | 34 | expected_exit_code: u8 = 0, |
| 33 | 35 | |
| 34 | 36 | pub const StdIoAction = union(enum) { |
| ... | ... | @@ -159,7 +161,7 @@ pub const RunStep = struct { |
| 159 | 161 | child.cwd = cwd; |
| 160 | 162 | child.env_map = self.env_map orelse self.builder.env_map; |
| 161 | 163 | |
| 162 | | child.stdin_behavior = .Ignore; |
| 164 | child.stdin_behavior = self.stdin_behavior; |
| 163 | 165 | child.stdout_behavior = stdIoActionToBehavior(self.stdout_action); |
| 164 | 166 | child.stderr_behavior = stdIoActionToBehavior(self.stderr_action); |
| 165 | 167 | |