delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/12/26/18:44:57

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:subject:to:references
:content-type; q=dns; s=default; b=YbtzuUe0T6l9/ODwRFETmzFf+axDb
gBYhxEQSER6GropG2661Go9FIP1WFqMUN1cx5dA9x0nAANxI89ISOuYHnbP2DZHG
e9qMcGZnQAzeZsPnbCusgeUtwg/BFRD+qGg/bTgr+gCnFPLpO+6NFgjG1FrwHM4e
sOvChXG2v1GM+s=
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:subject:to:references
:content-type; s=default; bh=f43fs5UKsThEpP5u/QfklcHsfg4=; b=X7f
6R+mWIXk1EtygYJ1g1llgDwbiD5deaznvaJ/QJvjDKXTbRvJthLiYQQcZ0sH92Dj
PSks/Vp4J4Ed4VtMJxL8Kk5U9fWMFE8JZB8SGVEH5eyJZVlQBEGuDt1NatxtcmfE
KphaRNk6ft4S+jlXO2Cj55IC6eOTBP0bs3Xi+ero=
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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*UA:github.com, H*M:google
X-HELO: mail-oi0-f41.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:subject:to:references :user-agent; bh=kkv31yyu1xzash/uYNbHa7q1QdGo6N8kagV1z+Ro9mU=; b=AegbWl9kqxAqJrIBU67PODeTzpPWZG3hNfEhTYoIc2RpBS8dI1VtfoKx9c1flRSocz SNG6JSpnQ1qr3PhglHtFz/a2NoRqfTrQ42H9wN4Y0LhUy219sH/Sgs8iwyqIeT20OwOe EONyIkk9N9nCb17qaiFLG/LXCft5fko5431Sq+a46x/uSDVycdl1kNydDrvydk8G9uwx vwE9rjj4r0BqXxlrRy3fz3Rruq9BaGyDD1K7GozuQ2QHu9DiAbQSf+sAPQB6IIwCNchY 2sFb4hpCrAC7867hiN60pOAJZI7xHwpW43XbrKqc/Fla0oEhPrccpVfUJSlPe9zbHOG0 PG+g==
X-Gm-Message-State: AKGB3mJq7rvq03OrtRSy/QfplihAU1uH+mszQol2RYDBFUicrK33TrMw g3WW4NcUYOozgTsGwjl61Ox4Xg==
X-Google-Smtp-Source: ACJfBosmi12Cfp6SIOr2tlaj7s1bgBK3etKI7HwGTSGc3sWeiFcFHKT7mLKLvtRD3PPwqfHUY2BjiQ==
X-Received: by 10.202.212.17 with SMTP id l17mr17346505oig.218.1514331881564; Tue, 26 Dec 2017 15:44:41 -0800 (PST)
Message-ID: <5a42dee8.9ba6ca0a.5e71f.56c1@mx.google.com>
Date: Tue, 26 Dec 2017 15:44:40 -0800 (PST)
From: Steven Penny <svnpenn AT gmail DOT com>
X-Google-Original-From: Steven Penny
Subject: Re: Run command in new window
To: cygwin AT cygwin DOT com
References: <e12dbeac-a27f-4f41-42c6-d5467433c553 AT gmail DOT com>
User-Agent: Tryst/2.0.1 (github.com/svnpenn/tryst)

On Tue, 26 Dec 2017 17:44:11, cyg Simple wrote:
> If you want to pass quotes to the process on the command line then you need
> to quote them or use a backslash on the quote to prevent the shell doing
> the exec to process them.
> 
> $ cygstart bash -c \'echo 1\; read\'

I dont want to pass quotes. Sure, in this case it seems like the way to go, but
sometimes it might make sense to just escape the problem character(s) rather
than twice quote the whole thing.

If thats not possible then fine, but I havent seen someone say that its not
possible yet, and if so why its not possible.


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