Disowned process hangs terminal during logout/exit

2007-12-05 Thread Jesse Molina
$LASTPID|grep -v grep ps laxw|grep $LASTPID|grep -v grep echo "--" echo "" exit 0 -- Here is the actual line where I am having trouble. I can't redirect tail's output in this case. It seems like tail is the offender. (tail -f < /dev/null | $NETCAT -l -p $LISTENPORT >> $LOGFILE 2>&1) & -- # Jesse Molina # Mail = [EMAIL PROTECTED] # Page = [EMAIL PROTECTED] # Cell = 1.602.323.7608 # Web = http://www.opendreams.net/jesse/

Re: Disowned process hangs terminal during logout/exit

2007-12-05 Thread Jesse Molina
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'll use lsof and see if I can find anything interesting. Other suggestions are welcome. On Wed, Dec 05, 2007 at 03:49:09PM -0500, Paul

Re: Disowned process hangs terminal during logout/exit

2007-12-05 Thread Jesse Molina
fference in the behavior? The $BASH_VERSION on the Ubuntu and Debian hosts are the same -- 3.1.17(1)-release. On Wed, Dec 05, 2007 at 04:17:25PM -0700, Jesse Molina wrote: > > Thank you for the explanation about the descriptors. That's very insightful. > > However, you

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 wi