mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
HackStudio: Add TerminalWrapper::on_command_exit
This commit is contained in:
committed by
Andreas Kling
parent
d29a078ab3
commit
cd11a8597a
@@ -47,6 +47,9 @@ void TerminalWrapper::run_command(const String& command)
|
||||
}
|
||||
m_process_state_widget->set_tty_fd(-1);
|
||||
m_pid = -1;
|
||||
|
||||
if (on_command_exit)
|
||||
on_command_exit();
|
||||
};
|
||||
|
||||
m_pid = fork();
|
||||
|
||||
Reference in New Issue
Block a user