bash sends SIGHUP to disowned children in non-interactive mode

2011-12-28 Thread ck850
I'm experiencing some strange behaviour with bash and xterm or other X-terminals. I'm using bash in Debian stable (GNU bash, Version 4.1.5(1)-release (i486-pc-linux-gnu)). To reproduce, write a simple script like this: #!/bin/bash (xclock &) sleep 15 Then run it with xter

Re: bash sends SIGHUP to disowned children in non-interactive mode

2011-12-28 Thread ck850
>You could also "disown -h" it and avoid that the signal is sent at all. >This is especially helpful, if a program resets its signal handlers >(e.g. xemacs?). What I am saying is, this is not working! Please try if you can reproduce what I wrote. If so try to use disown -h. Doe

bash sends SIGHUP to disowned children in non-interactive mode

2011-12-28 Thread ck850
I'm experiencing some strange behaviour with bash and xterm or other X-terminals. I'm using bash in Debian stable (GNU bash, Version 4.1.5(1)-release (i486-pc-linux-gnu)). To reproduce this, write a simple script like this: #!/bin/bash (xclock &) sleep 15 Then run it with