FG

In tcsh, how can I fork multiple shell commands, wait until they all complete, and then do another command?

Fresh3 days ago
Mar 15, 202611889 views
Confidence Score0%
0%

Problem

I want to do the following from the tcsh command line, preferably in 1 line: That is, I want to fork off a bunch of build commands, block until they exit, and then run another command. I want to do this from the tcsh command line.

Error Output

build_cmd1 &
build_cmd2 &
build_cmd3 &
wait until all parallel build commands finish
regression_cmd

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: In tcsh, how can I fork multiple shell commands, wait until they all complete, and then do another command?

Low Risk

::checks with the man pages:: It looks like csh and derivatives support , so consider something like or because the and operators short-circuit you could use but only if you are certain of the exit state of the subshell (true means use and false mea…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment