X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=I70CYM2fYeHSmugz
	QzAR4MJTfl7W+Z231e3oq0nqiR8UqxsLpKUuQoPMneV5GKFePIep0Hx4oDhAeCC3
	8pPFiM0Z65UvUQMklUcFKeWijYzT9JwAeXi/IGHPkZ62c+UNPOYmHufMPxa6qM9F
	1NPvMFZhleP8yGmP1F0dEHPmtz0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=oqZ23oEy/C61rssrNPkU+y
	sUObg=; b=i2C6kOV5VA1RfDdZ58iTn15wZKHXOJo07RICorwdvLgCo45AD1n6ms
	0tNzX8oa68qdvnfiut9P5Y7omtv34VabGUvby5m+g/gP9RagTVMdd78Uckz0gkFB
	Go4izLgDyQQ32TuGg1ggsAB97+IF+odJBZIz7xjUWlvbBKuFWX9RI=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.8 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RDNS_NONE,SPF_SOFTFAIL,URIBL_BLOCKED autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Tue, 5 Nov 2013 04:19:33 +0400
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <1021374147.20131105041933@mtu-net.ru>
To: Kenneth Wolcott <kennethwolcott@gmail.com>, cygwin@cygwin.com
Subject: Re: Executing Windows commands from Cygwin with or without cmd: what are the pros and cons?
In-Reply-To: <CADex0xwzYP0oHQ6q8x4uu9QDnrFYeh8Un7Udr50j56vpmavzSQ@mail.gmail.com>
References: <CADex0xyCNo4QmZ=gDC0hz2o4if-TKuYFE-cN=HbBTRp0arMM_g@mail.gmail.com> <2310234468.20131105023748@mtu-net.ru> <CADex0xwzYP0oHQ6q8x4uu9QDnrFYeh8Un7Udr50j56vpmavzSQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

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

