"Start" in cygwin.bat

Alex Malinovich baggend@howlermonkey.net
Wed Sep 12 13:31:00 GMT 2001


For those of you who are using "start" to invoke bash from cygwin.bat,
just a quick update. (This works in 2K and XP, don't know about the
others.) If you want to keep your nifty little Cygwin icon in the window
rather than having it switch to a command prompt icon, just run start
with the /B parameter. E.g. start /B bash --login -I

Never did hear anything from the core developer folks on this btw.
Should this be a default 'setting' in cygwin.bat? Using "start" works on
EVERY version of Windows since 95. Some of the parameters MAY be
different between the versions (I only have an XP and a 2K machine to
test on right now.), but "start" itself will work, and will eliminate
the "Terminate batch job?" question on logout. Or, as Michael suggested:

"Or, better yet, don't use a batch file at all.  Create an icon that
starts in <drive>:\Path-to-cygwin\bin that launches bash."

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



More information about the Cygwin mailing list