X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 Reply-To: Andrey Repin Message-ID: <1021374147.20131105041933@mtu-net.ru> To: Kenneth Wolcott , cygwin AT cygwin DOT com Subject: Re: Executing Windows commands from Cygwin with or without cmd: what are the pros and cons? In-Reply-To: References: <2310234468 DOT 20131105023748 AT mtu-net DOT ru> 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 AT yandex DOT 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