mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 21:08:36 +00:00
stdlib: fix ChildProcess.killPosix
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
parent
eb5e4ac495
commit
34671b1d19
@ -161,7 +161,7 @@ pub const ChildProcess = struct {
|
||||
self.cleanupStreams();
|
||||
return term;
|
||||
}
|
||||
try os.kill(self.pid, os.SIGTERM);
|
||||
try os.kill(self.pid, os.SIG.TERM);
|
||||
self.waitUnwrapped();
|
||||
return self.term.?;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user