delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/04/19:20:47

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <anrdaemon AT yandex DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <1021374147.20131105041933@mtu-net.ru>
To: Kenneth Wolcott <kennethwolcott AT gmail DOT com>, 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: <CADex0xwzYP0oHQ6q8x4uu9QDnrFYeh8Un7Udr50j56vpmavzSQ@mail.gmail.com>
References: <CADex0xyCNo4QmZ=gDC0hz2o4if-TKuYFE-cN=HbBTRp0arMM_g AT mail DOT gmail DOT com> <2310234468 DOT 20131105023748 AT mtu-net DOT ru> <CADex0xwzYP0oHQ6q8x4uu9QDnrFYeh8Un7Udr50j56vpmavzSQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019