[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [feature request] setpgid and setsid builtins

From: Francis Montagnac
Subject: Re: [feature request] setpgid and setsid builtins
Date: Wed, 17 Apr 2002 10:50:43 +0200

> 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.


(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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]