mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +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
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue