delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/04/16:51:14

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=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 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=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 AT cygwin DOT com>
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: <CADex0xyCNo4QmZ=gDC0hz2o4if-TKuYFE-cN=HbBTRp0arMM_g AT mail DOT gmail DOT com> <52780AD8 DOT 3050904 AT cygwin DOT com> <20131104213144 DOT GA6891 AT ednor DOT casa DOT cgf DOT cx>
In-reply-to: <20131104213144.GA6891@ednor.casa.cgf.cx>

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

- Raw text -


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