This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: cygwin.bat
- To: baggend at howlermonkey dot net ("Alex Malinovich"), cygwin at cygwin dot com
- Subject: RE: cygwin.bat
- From: Bbbymcn2001 at netscape dot net (Bobby McNulty)
- Date: Sat, 08 Sep 2001 18:27:03 -0400
"Alex Malinovich" <baggend@howlermonkey.net> wrote:
>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/
>
>
I just tried it out.
start /r bash --login -i
When exit is sent, the window closes without any fuss.
__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
--
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/