termio/exec: update comment on externalExit

This commit is contained in:
Will Pragnell
2025-01-04 22:46:27 -08:00
parent e8c922b67e
commit 6c71368c09

View File

@ -1200,8 +1200,8 @@ const Subprocess = struct {
try self.pty.?.childPreExec();
}
/// Called to notify that we exited externally so we can unset our
/// running state.
/// Called to notify that we exited externally so we can call wait on the
/// process and unset our running state.
pub fn externalExit(self: *Subprocess) void {
if (self.command) |*cmd| {
_ = cmd.wait(false) catch |err|