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: Executing Windows commands from Cygwin with or without cmd: what are the pros and cons?


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


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