This might be a bit off topic, but can't find anything really useful
when searching the internet. So i hope someone can point me in the right
I have to start 2 processes in the background (running in parallel),
capture their return codes and after all 4 have completed successfully i
want to continue with the main script.
Sofar i have this (below), however is this the proper way to do it?
for PID in $PIDLIST; do
echo "Job $PID exited with status $rc"
if [ $rc -ne 0 ]; then
**** the rest of the main script ****
email@example.com mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"