Re: Disowned process hangs terminal during logout/exit

2007-12-05 Thread Jesse Molina
I'm using netcat to listen for Avaya phone system call logs. Thanks for the advice. I'll check that out and see if it could be something that I might use. Bob Proulx wrote: Jesse Molina wrote: Netcat has strange issues about wanting stdin -- it won't run backgrounded without being fed ta

Re: Disowned process hangs terminal during logout/exit

2007-12-05 Thread Bob Proulx
Jesse Molina wrote: > Netcat has strange issues about wanting stdin -- it won't run > backgrounded without being fed tail -f /dev/null. I wonder if it > isn't the problem here. I had discounted it since I redirected both > stdin and stdout to the logfile. I have had problems with netcat before.

Re: Disowned process hangs terminal during logout/exit

2007-12-05 Thread Jesse Molina
Hmmm... I'm using 'lsof -d 0-255' and I don't see any FDs related to the subshell, the tail, or the NETCAT processes. I don't know what this shell is waiting on, though I'm sure it's one of these processes. As soon as I kill them off, the shell releases. I want to go back to the fact tha

Re: Disowned process hangs terminal during logout/exit

2007-12-05 Thread Andreas Schwab
Jesse Molina <[EMAIL PROTECTED]> writes: > Netcat has strange issues about wanting stdin -- it won't run backgrounded > without being fed tail -f /dev/null. I wonder if it isn't the problem here. > I had discounted it since I redirected both stdin and stdout to the logfile. What's wrong with

Re: Disowned process hangs terminal during logout/exit

2007-12-05 Thread Jesse Molina
Thank you for the explanation about the descriptors. That's very insightful. However, your suggested fix did not help the situation. I think that was even something that I had tried the day before. Netcat has strange issues about wanting stdin -- it won't run backgrounded without being fed t

Re: Disowned process hangs terminal during logout/exit

2007-12-05 Thread Paul Jarc
Jesse Molina <[EMAIL PROTECTED]> wrote: > Basically, on the two troubled systems, my interactive shell will > hang after I've disowned a process. On one other system, everything > works as expected. I expect that a disowned process should not hang > logout -- disowned means disowned. The termina