delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/12/16:32:31

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: "Start" in cygwin.bat
Date: Wed, 12 Sep 2001 15:31:49 -0500
Message-ID: <001501c13bc9$f403f590$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

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/

- Raw text -


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