This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Logout Terminal Services RDC ends ssh invoked by W2k3 service
- From: ericblake at comcast dot net (Eric Blake)
- To: cygwin at cygwin dot com, Michael Brian Bentley <bentley at crenelle dot com>
- Date: Fri, 09 Sep 2005 21:15:00 +0000
- Subject: Re: Logout Terminal Services RDC ends ssh invoked by W2k3 service
> A quick note: if you use nohup or setsid, don't forget to redirect *all*
> of stdin, stdout, stderr -- otherwise ssh may get a broken pipe/EOF and
> quit.
In coreutils CVS (which will become 5.3.1), nohup will redirect stdin on
your behalf, in light of a recent POSIX interpretation, for this very reason.
However, I haven't had the desire to package a CVS version of coreutils,
instead preferring to wait for 5.3.1 to actually be released. Furthermore,
since not all implementations of nohup will do that, you still need to
redirect stdin yourself to be portable when using nohup.
--
Eric Blake
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/