From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80387 invoked by alias); 26 Dec 2017 23:44:45 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 80377 invoked by uid 89); 26 Dec 2017 23:44:44 -0000 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 Received: from mail-oi0-f41.google.com (HELO mail-oi0-f41.google.com) (209.85.218.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 26 Dec 2017 23:44:43 +0000 Received: by mail-oi0-f41.google.com with SMTP id u193so24480159oie.1 for ; Tue, 26 Dec 2017 15:44:43 -0800 (PST) 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) Received: from 0YD ([2605:6000:9fc0:56:c54d:2844:d0c:ba]) by smtp.gmail.com with ESMTPSA id t27sm13782686oij.32.2017.12.26.15.44.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Dec 2017 15:44:40 -0800 (PST) Message-ID: <5a42dee8.9ba6ca0a.5e71f.56c1@mx.google.com> Date: Wed, 27 Dec 2017 01:16:00 -0000 From: Steven Penny X-Google-Original-From: Steven Penny Subject: Re: Run command in new window To: cygwin@cygwin.com References: Content-Type: text/plain; charset=utf8; format=flowed User-Agent: Tryst/2.0.1 (github.com/svnpenn/tryst) X-SW-Source: 2017-12/txt/msg00265.txt.bz2 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