| author | |
| committer | |
| log | bffe65c18f39db0f4ffe06c3f9abb12da4fbba88 |
| tree | a7b7476d02d3d8718b7f7241b7e6a7748c4ff6c0 |
| parent | 63f9af87d3b5931fc0769cb504404d66a17565d5 |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/child_process.zig+1-1| ... | ... | @@ -228,7 +228,7 @@ pub const ChildProcess = struct { |
| 228 | 228 | // some rare edge cases where our process handle no longer has the |
| 229 | 229 | // PROCESS_TERMINATE access right, so let's do another check to make |
| 230 | 230 | // sure the process is really no longer running: |
| 231 | windows.WaitForSingleObjectEx(self.handle, 0, false) catch return err; | |
| 231 | windows.WaitForSingleObjectEx(self.id, 0, false) catch return err; | |
| 232 | 232 | return error.AlreadyTerminated; |
| 233 | 233 | }, |
| 234 | 234 | else => return err, |