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:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=e0ZKMcZ+XX2EQ1ap idvEtoqFaTVSkK/lv+QUouv0zC52nLXj/hHH1QhqNKujORWKKZyPR1fuwOD1GIKJ fpxFfpHfjJpGGRhADYAfSJ7CjmMGZcnVASRwyg3JJbk97kV3DxXpJMRlulNe00R4 27gHrq8Qr9vqGmkG5W2kx4NGtYE= 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:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=Ij7zjSPGyAFEx0V/1+cMro 3TkxU=; b=vlk+cBwJV8YsCYnztnsKiUmhdo99zMZJeFYIW79R0rs/1MdplVvYEZ WobnjW+vAgSBguK5VRZGjueZlLxgaBooYJs8N99QKRzqKX7waQu+PkkjY3nTpg03 ogKoeC0Rvov7HrE1WuYdld0H7gOZwn1qDU1kLvVW0cMfPnQDLDkT0= 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=0.4 required=5.0 tests=AWL,BAYES_50,RDNS_NONE autolearn=no version=3.3.2 X-HELO: vms173007pub.verizon.net Message-id: <52780AD8.3050904@cygwin.com> Date: Mon, 04 Nov 2013 16:00:08 -0500 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Executing Windows commands from Cygwin with or without cmd: what are the pros and cons? References: In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit On 11/4/2013 3:35 PM, Kenneth Wolcott wrote: > Hi; > > Where can I find information regarding the pros and cons of using or > not using the cmd command to execute Windows commands from Cygwin? I think there would just be cons to using "cmd.exe" commands from within Cygwin. ;-) Obviously, this can end up being pretty subjective. But some of cons would be: o Doesn't understand PTYs (an issue when running a terminal like mintty) o Doesn't understand impersonation tokens used by ssh for pubkey authentication o Doesn't understand POSIX paths o Possible namespace/functional overlap and/or collisions Many of these can be worked around in one way or another but that's not enough to move them out of the "con" category. ;-) -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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