X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 	tests=AWL,BARRACUDA_BRBL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,TVD_SPACED_SUBJECT_WORD3
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject:  Re: MinTTY
Date:  Wed, 31 Dec 2008 15:21:13 +0100
Lines: 15
Message-ID: <gjfv4m$nbn$2@ger.gmane.org>
References:  <495917BA.1090401@gmail.com> <6910a60812291430i6e2c394agcedab557bbf6f673@mail.gmail.com> <4959B7F7.9020400@cwilson.fastmail.fm> <495A1811.3030209@gmail.com> <495A2BF2.7040409@elite-systems.org> <495A90E4.6020706@elite-systems.org> <495AA80D.3000709@gmail.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset="us-ascii"
Content-Transfer-Encoding:  7bit
User-Agent: MicroPlanet-Gravity/2.71.4
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

* Andy Koppe (Tue, 30 Dec 2008 23:00:29 +0000)> 
> Robert Pendell wrote:
> > I modified cygwin.bat to execute mintty.
> > Looks like mintty doesn't detach completely on it's own 
> 
> Yep, that's a known issue (number 4 in the issue tracker), and I haven't
> yet worked out how to do this properly. I've tried closing files 0
> through 3 and doing a setsid(), but that's not sufficient. Hints on how
> to detach properly would be much appreciated.

?? If you run a GUI application from a batch file on the NT family, the 
batch file will not close until the GUI app is closed. So this behaviour 
of mintty is not an "issue" but completely normal.

Thorsten


--
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/

