1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:17:45 +00:00

Shell: Ensure that jobs going through run_tail() retain should_wait

This allows putting logic in the background as well.
This commit is contained in:
AnotherTest 2020-10-26 02:31:29 +03:30 committed by Andreas Kling
parent 9ad858bcbf
commit 5a4673d468
2 changed files with 10 additions and 8 deletions

View file

@ -215,7 +215,7 @@ private:
LocalFrame* find_frame_containing_local_variable(const String& name);
void run_tail(RefPtr<Job>);
void run_tail(const AST::NodeWithAction&, int head_exit_code);
void run_tail(const AST::Command&, const AST::NodeWithAction&, int head_exit_code);
virtual void custom_event(Core::CustomEvent&) override;