Skip to content

Commit

Permalink
termio/exec: update comment on externalExit
Browse files Browse the repository at this point in the history
  • Loading branch information
goonzoid committed Jan 9, 2025
1 parent fd3acb1 commit 787962f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/termio/Exec.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1204,8 +1204,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|
Expand Down

0 comments on commit 787962f

Please sign in to comment.