Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: ericblake AT comcast DOT net (Eric Blake) To: cygwin AT cygwin DOT com, Michael Brian Bentley Subject: Re: Logout Terminal Services RDC ends ssh invoked by W2k3 service Date: Fri, 09 Sep 2005 21:15:00 +0000 Message-Id: <090920052115.17034.4321FB54000CE3670000428A22070009530A050E040D0C079D0A@comcast.net> X-Authenticated-Sender: ZXJpY2JsYWtlQGNvbWNhc3QubmV0 > 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/