Commit 6c64f079fa

Vexu <15308111+Vexu@users.noreply.github.com>
2019-11-23 21:06:51
add workaround to child_process.zig
1 parent d40f204
Changed files (1)
lib/std/child_process.zig
@@ -259,7 +259,9 @@ pub const ChildProcess = struct {
     }
 
     fn handleWaitResult(self: *ChildProcess, status: u32) void {
-        self.term = self.cleanupAfterWait(status);
+        // TODO https://github.com/ziglang/zig/issues/3190 
+        var term = self.cleanupAfterWait(status);
+        self.term = term;
     }
 
     fn cleanupStreams(self: *ChildProcess) void {