X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS,TVD_SPACED_SUBJECT_WORD3 X-Spam-Check-By: sourceware.org Message-ID: <495AA80D.3000709@gmail.com> Date: Tue, 30 Dec 2008 23:00:29 +0000 From: Andy Koppe User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: MinTTY References: <495917BA DOT 1090401 AT gmail DOT com> <6910a60812291430i6e2c394agcedab557bbf6f673 AT mail DOT gmail DOT com> <4959B7F7 DOT 9020400 AT cwilson DOT fastmail DOT fm> <495A1811 DOT 3030209 AT gmail DOT com> <495A2BF2 DOT 7040409 AT elite-systems DOT org> <495A90E4 DOT 6020706 AT elite-systems DOT org> In-Reply-To: <495A90E4.6020706@elite-systems.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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. > I appended > 'start' to the beginning to it. The program will continue to run but > the black box will disappear. If start doesn't work then use 'cygstart' > instead as that one is supplied by cygwin. Basically the last line of > cygwin.bat was changed to show as... > > start mintty bash --login -i Thanks! That's a good workaround. Andy -- 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/