mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 02:38:13 +00:00
Shell: Make run_command() return a NonnullRefPtrVector<Job>
This never returns null Job pointers.
This commit is contained in:
parent
3055f73d48
commit
bf2cd9374c
4 changed files with 7 additions and 7 deletions
|
@ -76,7 +76,7 @@ public:
|
|||
int run_command(const StringView&);
|
||||
bool is_runnable(const StringView&);
|
||||
RefPtr<Job> run_command(const AST::Command&);
|
||||
Vector<RefPtr<Job>> run_commands(Vector<AST::Command>&);
|
||||
NonnullRefPtrVector<Job> run_commands(Vector<AST::Command>&);
|
||||
bool run_file(const String&, bool explicitly_invoked = true);
|
||||
bool run_builtin(int argc, const char** argv, int& retval);
|
||||
bool has_builtin(const StringView&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue