mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:27:34 +00:00
HackStudio: Add TerminalWrapper::kill_running_command()
Also put our child process into a new process group in order to be able to kill it along with its own children.
This commit is contained in:
parent
cd11a8597a
commit
8484635920
2 changed files with 14 additions and 0 deletions
|
@ -11,6 +11,7 @@ public:
|
|||
virtual ~TerminalWrapper() override;
|
||||
|
||||
void run_command(const String&);
|
||||
void kill_running_command();
|
||||
|
||||
Function<void()> on_command_exit;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue