bug-bash
[Top][All Lists]
Advanced

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

BASH doesn't make new process group, when process substitution used


From: root
Subject: BASH doesn't make new process group, when process substitution used
Date: Tue, 10 Oct 2006 19:31:53 +0600 (YEKST)

Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I../bash -I../bash/include -I../bash/lib   -g -O2
uname output: Linux nuclear 2.6.15-1-686-smp #1 SMP Wed Jan 18 15:26:19 UTC 
2006 i686 GNU/Linux
Machine Type: i486-pc-linux-gnu

Bash Version: 3.1
Patch Level: 17
Release Status: release

Description:
        When process substitution is used, BASH doesn't make setpgrp() call
        so, substituted process run in the same process group
Repeat-By:
        exec 3< <( kill -KILL 0 )
Fix:
       I think, that BASH SHOULD MAKE new process group in same manner
       as it does, when job control is enabled, and "command &" used.
       
       My real script runs program, that call kill(0, SIGKILL).
       and my script terminates.

Please answer to marik@yandex.ru. Thanks for great shell )




reply via email to

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