Re: Process group id of first command in command substitution (bash4 vs bash3)

2012-03-15 Thread Roman Rakus
On 03/10/2012 09:30 PM, Chet Ramey wrote: On 2/20/12 1:25 PM, Roman Rakus wrote: I'm not sure if it's a bug or not, but there is change between old bash 3.2 and bash 4.2. When you run a script: set -m $(sleep 1; sleep 2) in bash 4.2 the first sleep has same group id as parent shell. However in

Re: Process group id of first command in command substitution (bash4 vs bash3)

2012-03-10 Thread Chet Ramey
On 2/20/12 1:25 PM, Roman Rakus wrote: > I'm not sure if it's a bug or not, but there is change between old bash 3.2 > and bash 4.2. > When you run a script: > set -m > $(sleep 1; sleep 2) > > in bash 4.2 the first sleep has same group id as parent shell. However in > bash 3.2 it has different gro

Re: Process group id of first command in command substitution (bash4 vs bash3)

2012-02-22 Thread Roman Rakus
On 02/20/2012 10:57 PM, Chet Ramey wrote: I'm not sure if it's a bug or not, but there is change between old bash 3.2 and bash 4.2. When you run a script: set -m $(sleep 1; sleep 2) in bash 4.2 the first sleep has same group id as parent shell. However in bash 3.2 it has different group id. Is

Re: Process group id of first command in command substitution (bash4 vs bash3)

2012-02-20 Thread Chet Ramey
> I'm not sure if it's a bug or not, but there is change between old bash > 3.2 and bash 4.2. > When you run a script: > set -m > $(sleep 1; sleep 2) > > in bash 4.2 the first sleep has same group id as parent shell. However > in bash 3.2 it has different group id. > > Is it bug or not? I'm not

Process group id of first command in command substitution (bash4 vs bash3)

2012-02-20 Thread Roman Rakus
I'm not sure if it's a bug or not, but there is change between old bash 3.2 and bash 4.2. When you run a script: set -m $(sleep 1; sleep 2) in bash 4.2 the first sleep has same group id as parent shell. However in bash 3.2 it has different group id. Is it bug or not? I'm not able to find docu