This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Processes are unable to fully discard their controlling terminal
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 2 Mar 2003 12:33:04 -0500
- Subject: Re: Processes are unable to fully discard their controlling terminal
- References: <001b01c2e0d1$2393a320$78d96f83@pomello>
- Reply-to: cygwin at cygwin dot com
On Sun, Mar 02, 2003 at 03:33:56PM -0000, Max Bowsher wrote:
>Processes that attempt to shed their controlling terminal do so well enough
>for the tty to show as ? in ps output, but they still keep the console
>window they were launched from open, after all other processes using it have
>exited.
>
>This is particularly annoying with ssh-agent - if I exit the shell in the
>terminal that launched it, that terminal becomes a zombie, hanging around
>for no purpose. If I close that window using the Windows close box, the
>ssh-agent is killed.
>
>I'm not an expert in the ways of Unix ttys. Can anyone help me understand
>where the problem lies?
setsid()
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/