> If that's the only criterion, why don't you just turn on job control
> in your script with `set -o monitor'? It does the same thing.
I tried that in bash2.04 (on Linux) and it didn't work for subshells.
Ex:
(set -o monitor; sleep 2 & kill -TERM -${!};)
bash: kill: (-8282) - No such pid
But this works in 2.05a. Thanks.
No real need thus for having setpgid, but setsid is still needed for
me.
Francis