Task: Wait for Multiple Subprocesses and Return Non-Zero Exit Code on Failure
Task: Wait for Multiple Subprocesses and Return Non-Zero Exit Code on Failure: a task in Terminal-Lego-15k (Harbor dataset). Write a bash script that spawns multiple subprocesses in parallel, waits for all of them to finish, and returns a non-zero exit code if any of the subprocesses exited with a…
The task
Write a bash script that spawns multiple subprocesses in parallel, waits for all of them to finish, and returns a non-zero exit code if **any** of the subprocesses exited with a non-zero status.
Part of PrimeIntellect/Terminal-Lego-15k.