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:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=JaCLep5 mzDpXUaztGlyxRMyb9g8jfib6LaP5eHggTTcw63YGWrq1lWin9k7wYoHj4v48rUl ECNkt4haV/lvo6GSD34d5j8EsDrqMF+XiwI96kV5a4lKxbpOCP03PwSYmHN6wXoW lFFNYK5EcWkDVg1VaCA96rEPvM4Be5v1DPDM= 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:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=JDhRMJyQbTaQd Q1YkPWT0ghP7U4=; b=dXLITz6+4q15/Kzq3vDEwyXsrIZlbl83WiIzoSZZFxM7Y NYKlExlebUJPta856gUx3TaEcGgFRNBR+BTHH5jgEwU/tXbn6fKrJPhlSqfVfU5i G6CsbGNNx7q77lavUDNFhuzQV/44TQUR5mJDhfD2+2qowdfYhhPZ1CkYJv1OQU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=wish X-HELO: mail-lf0-f42.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=XQbeZ9o2XROlsg+tM79TWHCoTVbxEnaOl2W2Dgjelkg=; b=B1F1vMSK8dl1l5DaQCXFIEmq1KKyQNO4Jap0LCQQMSeORKqcxkMRSVCJQ5Rxe/NHnu yBFzAqURvZIPJGOAEdpv0lXXH/b/9bCaqeqJH691xjOgH2NSionqREopBIlZSsurxxYP iq0xiVMQUsp05ZQaNw6yZ7olygkXUN4s5cOPGfzoxVflowpHgQK1s10WZTD6ZTgGmm3m PkZj7dLFpE2AnEbhnBfvIu8Ys0eFoLymUzIWuPGP189wLhrTZbimdRLY2CvlYDa9TJtx 1U0zQmmUEnKGgAbxW91AX+xWw1MYniwyy4CbZ5SZGjDge+u6rG9QbLU/icNWkE/hKZNI cjmQ== X-Gm-Message-State: AKGB3mLFqwJJvLLfd+Uqy+m3sJjCXZHvBPxOm32PwvayLsAqV1X9vDDo MVo4bUPjXCsLd4Gb0nl2fDtokZZyIrsMNVa9EF2CADH/ X-Google-Smtp-Source: ACJfBou7+n15DJgO13wdswFVaAPisA9J+S/r3g+03s974TxjyJe1ywBBMDopVrWKWQUtuSU4q3h3TDlqfByPKfLVCjo= X-Received: by 10.25.87.205 with SMTP id l196mr5629423lfb.142.1514177600222; Sun, 24 Dec 2017 20:53:20 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <5a407fe6.2f079d0a.76591.2ebc@mx.google.com> References: <5a407fe6 DOT 2f079d0a DOT 76591 DOT 2ebc AT mx DOT google DOT com> From: Dave Caswell Date: Sun, 24 Dec 2017 21:53:19 -0700 Message-ID: Subject: Re: Run command in new window To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes On Sun, Dec 24, 2017 at 9:34 PM, Steven Penny wrote: > > yes, that is good if you want to use a script - but a command does not work: > > cygstart bash -c 'echo hello; sleep 5' > Ah, OK. Here you go: davec AT 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. -- 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