delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/08/18:05:12

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Alex Malinovich" <baggend AT howlermonkey DOT net>
To: <cygwin AT cygwin DOT com>
Subject: cygwin.bat
Date: Sat, 8 Sep 2001 17:04:09 -0500
Message-ID: <001001c138b2$31815c20$0800a8c0@TheLoveShack.local>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2616
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2526.0000
Importance: Normal

Just a quick observation. Cygwin.bat calls "bash --login -i" to start
cygwin. Wouldn't it be a bit better to instead use 'start' to launch
bash?

e.g.

"start bash --login -i" 

By using 'start' bash is called, and then the batchfile continues
execution. (it ends)

This would alleviate the issue of "Terminate batch job?" messages that
occasionally crop up when closing the window. It also allows more than
one instance of bash to be called by using a keyboard shortcut. I have
ctrl-alt-c set to call cygwin.bat. The only problem is that if I already
have a window open, it won't allow me to open a second one that way
since the batch file is still "running". Using 'start', I can now open
as many windows as I want. AFAIK the 'start' command has been
implemented in all MS OS's since 95 so compatibility shouldn't be an
issue. Just a suggestion.

-Alex


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019