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:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=esEjDSxViW6Z3jbF
	FU8d9AWa0Qtyzb/JnxFos9Zs+TCY1lW1RjePR098AgqPzuvW2uy3nog7/9iYDWov
	jmvm864NqWPlJzShFGDB0Rx0lhHgndYTxI1qFTRSgBb21DKe7Bc2fdMJJiX9U6jG
	IiAEmHspGK2JaYR0jXCKGbYa00Q=
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=W5gCzBMixmUQytmrEnMKe2
	tRQGg=; b=Ua0PMgMuY8QToEnR5QPCqxsksqVNQ0Tq36aNtMy6NXagAJ9IDLwlb+
	4yXRYDYQLZTUxk/1xwgHmNo5+D3GTTO4em6rApa7OQPuwa33rM/2bsJotjodwcmI
	HEV0fhJf1EEQHNfQAcXdvQzVPrFu75MzhMAwkji8LSLwB76V425u8=
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=0.5 required=5.0 tests=AWL,BAYES_50,RDNS_NONE autolearn=no version=3.3.2
X-HELO: vms173013pub.verizon.net
Message-id: <527816A5.9030207@cygwin.com>
Date: Mon, 04 Nov 2013 16:50:29 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.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@cygwin.com
Subject: Re: Executing Windows commands from Cygwin with or without cmd: what are the pros and cons?
References: <CADex0xyCNo4QmZ=gDC0hz2o4if-TKuYFE-cN=HbBTRp0arMM_g@mail.gmail.com> <52780AD8.3050904@cygwin.com> <20131104213144.GA6891@ednor.casa.cgf.cx>
In-reply-to: <20131104213144.GA6891@ednor.casa.cgf.cx>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit

On 11/4/2013 4:31 PM, Christopher Faylor wrote:
> On Mon, Nov 04, 2013 at 04:00:08PM -0500, Larry Hall (Cygwin) wrote:
>> 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. ;-)
>
> One con is that cmd recognizes "con" as a device rather than a filename...

Now Chris, don't con me!

-- 
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

