From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47841 invoked by alias); 25 Dec 2017 05:11:39 -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 46669 invoked by uid 89); 25 Dec 2017 05:11:36 -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=OPTION, Hx-languages-length:724, H*UA:github.com, H*M:google X-HELO: mail-oi0-f47.google.com Received: from mail-oi0-f47.google.com (HELO mail-oi0-f47.google.com) (209.85.218.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 25 Dec 2017 05:08:19 +0000 Received: by mail-oi0-f47.google.com with SMTP id t78so22191712oie.8 for ; Sun, 24 Dec 2017 21:08:19 -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:to:references:subject :user-agent; bh=VdCRe4fACzqk1sPpX4FG9QXexby41ZiO1ZrNCjoOaoQ=; b=R8lb+/SNjyRHvZ4GARFeKZIbHS6Va5HsSw+jrrN1APDx3vY3GZVjzYhaIED+L5X87V jQoTJbIumBiaolfkQ4ERodI+wRrN84aFSY7UUkdyFr5IEhMJ5l0WhTCdkkt1Kyi2+tU+ AFQUzAEJsBSwPVkHh5jSToPfWMxtbo0rCVtFNBZrvEMZAZJzQzOPc36CNpEjYJPd/S+Z 8Q6yJZR1oeaYYse4OkMaHyVriY/e1uWxkqZcf4Tf7AWiK5LfGqH+ZgjsfghFZ6yRYuoC GvsXTtK36T1rzcsWdYII8w8S+IRbznEJXx4vmYoG8ce3BOsTBMC8Tx2ebBYkuv/iJYoI iy5Q== X-Gm-Message-State: AKGB3mK75uRmuh3rJI0UmuINnFSQ7EIB7zm5DyEBg12RR25aKSnCKdDX wga2RzZ0trTSrdt8GQJ2C7S6eQ== X-Google-Smtp-Source: ACJfBotS2TlD1/dsVUp+AGn57+L8pb2SEGQHh+XKL/NPrD72mudNIFpG+X/IK9Obejb1I4NoXfjc9Q== X-Received: by 10.202.88.84 with SMTP id m81mr14354997oib.178.1514178497720; Sun, 24 Dec 2017 21:08:17 -0800 (PST) Received: from 4fd ([2605:6000:9fc0:56:c54d:2844:d0c:ba]) by smtp.gmail.com with ESMTPSA id j196sm11905201oih.29.2017.12.24.21.08.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Dec 2017 21:08:17 -0800 (PST) Message-ID: <5a4087c1.cdebca0a.a4e97.8eb3@mx.google.com> Date: Tue, 26 Dec 2017 18:54:00 -0000 From: Steven Penny X-Google-Original-From: Steven Penny To: cygwin@cygwin.com References: Subject: Re: Run command in new window Content-Type: text/plain; charset=utf8; format=flowed User-Agent: Tryst/2.0.1 (github.com/svnpenn/tryst) X-SW-Source: 2017-12/txt/msg00259.txt.bz2 On Sun, 24 Dec 2017 21:53:19, Dave Caswell wrote: > Ah, OK. Here you go: > > davec@SodiumWin ~ > $ cygstart /usr/bin/bash '-c "echo hello; sleep 5"' > > I wish I could explain just why this quotation pattern works here. A > long time ago I found that dicking around with the quotes could often > get things working faster than trying to understand it in detail. that did it - thanks - this also works: cygstart bash '-c "echo hello; read z"' seems like a problem with cygstart parser? here is the syntax: cygstart [OPTION]... FILE [ARGUMENTS] so should support multiple arguments - this command works as expected cygstart touch 1 2 3 maybe the hyphen in "-c" is causing the problem? -- 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