This is the mail archive of the
mailing list for the Cygwin project.
Re: Executing Windows commands from Cygwin with or without cmd: what are the pros and cons?
- From: Kenneth Wolcott <kennethwolcott at gmail dot com>
- To: Andrey Repin <cygwin at cygwin dot com>
- Date: Mon, 4 Nov 2013 15:44:44 -0800
- Subject: Re: Executing Windows commands from Cygwin with or without cmd: what are the pros and cons?
- Authentication-results: sourceware.org; auth=none
- References: <CADex0xyCNo4QmZ=gDC0hz2o4if-TKuYFE-cN=HbBTRp0arMM_g at mail dot gmail dot com> <2310234468 dot 20131105023748 at mtu-net dot ru>
On Mon, Nov 4, 2013 at 2:37 PM, Andrey Repin <email@example.com> wrote:
> Greetings, Kenneth Wolcott!
>> Where can I find information regarding the pros and cons of using or
>> not using the cmd command to execute Windows commands from Cygwin?
> If you clarify, what exactly you are trying to achieve, it would be immensely
> easier to answer your question, and the answer will be much more useful.
> That aside, I see a very short list of commands that have no equivalents in
> Cygwin environment, and very few of them are actually sensible.
> Soo... which of the.. what? two commands? you plan to use?
> My list is as follows:
> 1. Internal commands affecting the system, but have no counterpart in Cygwin:
> VOL (?)
> 2. Internal commands with no meaning outside interpreter, or even restricted
> to use in batch files, which may or may not have equivalents in Cygwin:
> 3. Internal commands, that have appropriate counterparts in Cygwin:
> START (y/n)
> External utilities disguised as internal commands, which may or may not have
> counterparts in Cygwin:
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.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple