This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: git 2.8.3 spurious output


On Jun 9, 2016, at 1:52 AM, Cufi, Carles <Carles.Cufi@nordicsemi.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]