Below a test script, use it by running run_t.sh. After some time (< 1 minute) one or more of the 5 sub-shell stop. This batch works perfectly using a single P4 cpu on Windows XP !
Thanks in advance, Philippe.
PS 1 : 4-5th attempt to send a mail to [EMAIL PROTECTED] using three different mail account, gmane newgroup ! Anti-spam ? :(
PS 2 : Vital for me that this works before end of the month !
#### Scripts cat <<'EOF' > t.sh #!/bin/bash i=0 while true do A=$(basename /bin/sh) last_exec=$? i=$(($i+1)) echo "Instance $1, loop $i, status $last_exec" if [ $last_exec -ne 0 ]; then echo "!!!! ERROR !!!!" fi done EOF chmod a+rwx t.sh
cat <<'EOF' > run_t.sh #!/bin/bash t.sh 1 & t.sh 2 & t.sh 3 & t.sh 4 & t.sh 5 & wait EOF chmod a+rwx run_t.sh
./run_t.sh
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/