Does bash allow for functions?
CWSIV
On Fri, 17 Oct 2003 12:26:26 -0700 Kastus
Parent process DOES exit. Please try yourself the following example:
a.sh: -------------------------------- #!/bin/bash date echo in a.sh before calling b.sh echo a.sh runs as PID $$ ./b.sh & date echo b.sh started in background -------------------------------
b.sh: ------------------------------ #!/bin/bash echo running sleep... sleep 20 echo back from sleep -----------------------------
kastus@kastus:~> ./a.sh Fri Oct 17 12:21:48 PDT 2003 in a.sh before calling b.sh a.sh runs as PID 6732 Fri Oct 17 12:21:48 PDT 2003 b.sh started in background kastus@kastus:~> running sleep...
kastus@kastus:~> ps x |grep 6732
________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today!