mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
Shell: Make run_command() return a NonnullRefPtrVector<Job>
This never returns null Job pointers.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user