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

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:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=Ylwkp8Xh2gDqHNlGK5qnpcrDl04KMU8ZAGjORdrEEwf6CS29yEVa5
TjeGUyDT7emixy6TQkvKocyKyTBEs/EUNjDKgAgLUtyJkXd39CLF+Xkqep0i+VQW
H+peL+u6FmzAksjTIdj21QSvcPLmWXuUU5hPFe1SzsNffsazcg8wv4=
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:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=UI0p2whSOwovKdCbJLwrELVHL08=; b=fcRH/VBsm+rCBgKrje8b5HU1S7PT
c+apaoHk3/GZAhCs2glQKDLwYMa7BAKLr+MrQ8+13weSsaxpwNaNOoVa5heR9GDZ
sfc7aJQdyRBI2bedZYFHiFiQQ0hvINQeuRhyEKiH6U3sDj6LF5TfeyK43ME3G+zD
02L8C3SYs0XFAfM=
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=1.2 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,RDNS_NONE autolearn=no version=3.3.2
X-HELO: mho-01-ewr.mailhop.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1/LJNHB3IYaNd1SD+xroWgB
Date: Mon, 4 Nov 2013 16:31:44 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Executing Windows commands from Cygwin with or without cmd: what are the pros and cons?
Message-ID: <20131104213144.GA6891@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CADex0xyCNo4QmZ=gDC0hz2o4if-TKuYFE-cN=HbBTRp0arMM_g AT mail DOT gmail DOT com> <52780AD8 DOT 3050904 AT cygwin DOT com>
MIME-Version: 1.0
In-Reply-To: <52780AD8.3050904@cygwin.com>
User-Agent: Mutt/1.5.20 (2009-06-14)

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

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