From 6c71368c092192f88846d99c8877a230ec0471c9 Mon Sep 17 00:00:00 2001 From: Will Pragnell Date: Sat, 4 Jan 2025 22:46:27 -0800 Subject: [PATCH] termio/exec: update comment on externalExit --- src/termio/Exec.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/termio/Exec.zig b/src/termio/Exec.zig index 2bea8f0ce..4e0993995 100644 --- a/src/termio/Exec.zig +++ b/src/termio/Exec.zig @@ -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|