delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/09/15:37:19

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=fBI2Susd4869esly2YTPGDtkDfYR
SVG9m01wHn0mIHeOqdjQME+hz6zl6PhdcluSeZKNsN8zaZAfnzDEB+l21flAB/0i
ecAoEbjXcaUR9UQT3Oct034SJosnbkap2YIRbTKLSjhwHvVsMHtCnwqQtwsXVuh2
QZTqodIwB0dlzxM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=QZsarib4qZ7MbSRvmfMONIBJDkk=; b=xY
wM4U2t2xRm5UKWKu8QrJinJ174Q69LhpCYPmuaoP+FLwDYHB80EYY5dzutqlOXll
u4qDDWkAPpqfsmNg4Drmd+GdjKmXkR0NhyXGYwh4bOCypQjwGSktJiWHKQNBLH10
H/gJ5E7jykG/+ZYcodiI3yaCzF6j8Dfi62fe7coYU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=D*no, Carles DOT Cufi AT nordicsemi DOT no, CarlesCufinordicsemino, sk:carles
X-HELO: etr-usa.com
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
Subject: Re: git 2.8.3 spurious output
From: Warren Young <wyml AT etr-usa DOT com>
In-Reply-To: <087DA9770269374FB58D517AC05CCA3F017497826F@mbx04.nvlsi.no>
Date: Thu, 9 Jun 2016 13:36:30 -0600
Message-Id: <C2079F30-ECD8-4BED-A63B-5B5F482FFC53@etr-usa.com>
References: <087DA9770269374FB58D517AC05CCA3F017497826F AT mbx04 DOT nvlsi DOT no>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u59JbGr9017147

On Jun 9, 2016, at 1:52 AM, Cufi, Carles <Carles DOT Cufi AT nordicsemi DOT no> wrote:
> 
>> I prefer to use Cygwin most of the
>> time, then run a âmingwâ script I wrote to temporarily shift my Cygwin
>> environment to MinGW mode:
> 
> This sounds like a very good idea, but the problem is that sometimes I need to run mingw commands from standard Windows Command Prompts.

So write a mingw.bat file that does something similar for cmd.exe.

It won’t be seen from Cygwin even if it’s in Cygwin’s path because Cygwin won’t run it without the “.bat” extension, and Cygwin’s mingw shell script won’t be run by cmd.exe, so the “mingw” command will mean something completely different to each shell.

Incidentally, I see that I forgot to fix a /c -> /cygdrive/c in the script I posted.  (I normally run with cygdrive mounted at the root, and write my scripts accordingly.)
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


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