mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
termio/exec: update comment on externalExit
This commit is contained in:
@ -1200,8 +1200,8 @@ const Subprocess = struct {
|
|||||||
try self.pty.?.childPreExec();
|
try self.pty.?.childPreExec();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Called to notify that we exited externally so we can unset our
|
/// Called to notify that we exited externally so we can call wait on the
|
||||||
/// running state.
|
/// process and unset our running state.
|
||||||
pub fn externalExit(self: *Subprocess) void {
|
pub fn externalExit(self: *Subprocess) void {
|
||||||
if (self.command) |*cmd| {
|
if (self.command) |*cmd| {
|
||||||
_ = cmd.wait(false) catch |err|
|
_ = cmd.wait(false) catch |err|
|
||||||
|
Reference in New Issue
Block a user