From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 130156 invoked by alias); 9 Jun 2016 19:37:05 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 130146 invoked by uid 89); 9 Jun 2016 19:37:04 -0000 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.Cufi@nordicsemi.no, CarlesCufinordicsemino, sk:carles X-HELO: etr-usa.com Received: from etr-usa.com (HELO etr-usa.com) (130.94.180.135) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 09 Jun 2016 19:36:54 +0000 Received: (qmail 44815 invoked by uid 13447); 9 Jun 2016 19:36:53 -0000 Received: from unknown (HELO polypore.west.etr-usa.com) ([73.26.17.49]) (envelope-sender ) by 130.94.180.135 (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 9 Jun 2016 19:36:53 -0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: git 2.8.3 spurious output From: Warren Young In-Reply-To: <087DA9770269374FB58D517AC05CCA3F017497826F@mbx04.nvlsi.no> Date: Thu, 09 Jun 2016 19:37:00 -0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <087DA9770269374FB58D517AC05CCA3F017497826F@mbx04.nvlsi.no> To: The Cygwin Mailing List X-IsSubscribed: yes X-SW-Source: 2016-06/txt/msg00140.txt.bz2 On Jun 9, 2016, at 1:52 AM, Cufi, Carles wrote: >=20 >> I prefer to use Cygwin most of the >> time, then run a =C3=A2mingw=C3=A2 script I wrote to temporarily shift m= y Cygwin >> environment to MinGW mode: >=20 > This sounds like a very good idea, but the problem is that sometimes I ne= ed to run mingw commands from standard Windows Command Prompts. So write a mingw.bat file that does something similar for cmd.exe. It won=E2=80=99t be seen from Cygwin even if it=E2=80=99s in Cygwin=E2=80= =99s path because Cygwin won=E2=80=99t run it without the =E2=80=9C.bat=E2= =80=9D extension, and Cygwin=E2=80=99s mingw shell script won=E2=80=99t be = run by cmd.exe, so the =E2=80=9Cmingw=E2=80=9D 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