1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00

Shell: Wait for the rest of the members of a pipeline when one exits

Assuming we were blocking on one to begin with.
This commit is contained in:
AnotherTest 2020-10-28 17:45:17 +03:30 committed by Andreas Kling
parent c92865bd05
commit 6e2a383f25
2 changed files with 16 additions and 0 deletions

View file

@ -89,6 +89,7 @@ public:
bool run_builtin(const AST::Command&, const NonnullRefPtrVector<AST::Rewiring>&, int& retval);
bool has_builtin(const StringView&) const;
void block_on_job(RefPtr<Job>);
void block_on_pipeline(RefPtr<AST::Pipeline>);
String prompt() const;
static String expand_tilde(const String&);