Executing Windows commands from Cygwin with or without cmd: what are the pros and cons?

Andrey Repin anrdaemon@yandex.ru
Tue Nov 5 00:20:00 GMT 2013


Greetings, Kenneth Wolcott!

>   I was going to execute a MS-VC++ compiler command, not a DOS/Windows command.

>   I want to do as much as I could for capturing the stdout/stderr
> output and for capturing the exit status like I would as if I were on
> a Linux system, or the best that I can under these circumstances.

You can execute it from Windows batch file. With all the same benefits -
errorlevels, redirections and stuff.
Without having all the side-effects of path translation between Cygwin and
native applications.

That aside, I don't see any apparent technical issues.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 05.11.2013, <04:17>

Sorry for my terrible english...


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



More information about the Cygwin mailing list