diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-10-16 18:15:31 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-10-16 18:15:31 -0700 |
| commit | 2aff27d92247eed3b64ffc68da8fae9e5994ea0b (patch) | |
| tree | f8287a9f1e07269c5ebd2d3e0a86483c23270e25 /lib/std/child_process.zig | |
| parent | 0e4c3934a02cda80a72a730593ece41c7fa8026a (diff) | |
| parent | 5c16022c81effc2d684aaf21217dce0f7708946a (diff) | |
| download | zig-2aff27d92247eed3b64ffc68da8fae9e5994ea0b.tar.gz zig-2aff27d92247eed3b64ffc68da8fae9e5994ea0b.zip | |
Merge branch '6604'
closes #6604
Diffstat (limited to 'lib/std/child_process.zig')
| -rw-r--r-- | lib/std/child_process.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/child_process.zig b/lib/std/child_process.zig index 335574485d..3b8913af50 100644 --- a/lib/std/child_process.zig +++ b/lib/std/child_process.zig @@ -269,7 +269,7 @@ pub const ChildProcess = struct { } fn waitUnwrapped(self: *ChildProcess) void { - const status = os.waitpid(self.pid, 0); + const status = os.waitpid(self.pid, 0).status; self.cleanupStreams(); self.handleWaitResult(status); } |
