stdlib: fix ChildProcess.killPosix
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
committed by
Veikka Tuominen
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.?;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user