| ... | @@ -259,7 +259,9 @@ pub const ChildProcess = struct { | ... | @@ -259,7 +259,9 @@ pub const ChildProcess = struct { |
| 259 | } | 259 | } |
| 260 | | 260 | |
| 261 | fn handleWaitResult(self: *ChildProcess, status: u32) void { | 261 | fn handleWaitResult(self: *ChildProcess, status: u32) void { |
| 262 | self.term = self.cleanupAfterWait(status); | 262 | // TODO https://github.com/ziglang/zig/issues/3190 |
| | 263 | var term = self.cleanupAfterWait(status); |
| | 264 | self.term = term; |
| 263 | } | 265 | } |
| 264 | | 266 | |
| 265 | fn cleanupStreams(self: *ChildProcess) void { | 267 | fn cleanupStreams(self: *ChildProcess) void { |