Skip to content

Commit 1be38cf

Browse files
committed
stdllib: fix ChildProcess.killPosix
Signed-off-by: Takeshi Yoneda <[email protected]>
1 parent eb5e4ac commit 1be38cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/child_process.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ pub const ChildProcess = struct {
161161
self.cleanupStreams();
162162
return term;
163163
}
164-
try os.kill(self.pid, os.SIGTERM);
164+
try os.kill(self.pid, os.SIG.TERM);
165165
self.waitUnwrapped();
166166
return self.term.?;
167167
}

0 commit comments

Comments
 (0)