1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:57:45 +00:00

HackStudio: Add a simple "Build" action

Pressing Ctrl+B now invokes "make" in the project directory and routes
the output from the make command to the little terminal widget.
This commit is contained in:
Andreas Kling 2019-10-22 22:15:43 +02:00
parent 5a83e053b3
commit 654ffdef91
3 changed files with 56 additions and 12 deletions

View file

@ -9,8 +9,11 @@ class TerminalWrapper final : public GWidget {
public:
virtual ~TerminalWrapper() override;
void run_command(const String&);
private:
explicit TerminalWrapper(GWidget* parent);
RefPtr<TerminalWidget> m_terminal_widget;
pid_t m_pid { -1 };
};