add workaround to child_process.zig

This commit is contained in:
Vexu
2019-11-23 22:06:51 +02:00
parent d40f204ec0
commit 6c64f079fa

View File

@@ -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 {