bug-bash
[Top][All Lists]
Advanced

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

Process group id of first command in command substitution (bash4 vs bash


From: Roman Rakus
Subject: Process group id of first command in command substitution (bash4 vs bash3)
Date: Mon, 20 Feb 2012 19:25:35 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0

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 documentation for this change. And seems that POSIX says nothing about it.

RR



reply via email to

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