mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
Shell: Make run_command() return a NonnullRefPtrVector<Job>
This never returns null Job pointers.
This commit is contained in:
@@ -909,7 +909,7 @@ RefPtr<Value> Execute::run(RefPtr<Shell> shell)
|
||||
try_read();
|
||||
};
|
||||
|
||||
for (auto job : shell->run_commands(commands)) {
|
||||
for (auto& job : shell->run_commands(commands)) {
|
||||
shell->block_on_job(job);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user