1
Fork 0
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:
Sergey Bugaev 2019-11-14 19:21:13 +03:00 committed by Andreas Kling
parent cd11a8597a
commit 8484635920
2 changed files with 14 additions and 0 deletions

View file

@ -11,6 +11,7 @@ public:
virtual ~TerminalWrapper() override;
void run_command(const String&);
void kill_running_command();
Function<void()> on_command_exit;