X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0	tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Wed, 11 Jan 2012 19:37:32 -0800
From: Gary Johnson <garyjohn@spocom.com>
To: cygwin@cygwin.com
Subject: Re: Opening new cygwin window with arguments
Message-ID: <20120112033732.GE9147@phoenix>
Mail-Followup-To: cygwin@cygwin.com
References: <CANc+RapKxS3xVVxtXo6=NYfpfvL=B2Sdk8xKaJ1UVPRKRgxvBA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CANc+RapKxS3xVVxtXo6=NYfpfvL=B2Sdk8xKaJ1UVPRKRgxvBA@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 2012-01-11, Jon Hughes wrote:
> What I want to do is open a new cygwin window with a tail command, so
> I have the parent process still running, and this runoff process in
> another window. I've found cygstart, but I can't figure out the syntax
> to do essentially this:
> 
> cygstart sh "tail -f foo"
> 
> Any help would be appreciated

    mintty -e tail -f foo &

The -e is optional, but I like keeping my mintty commands consistent
with those I write for other terminals.

HTH,
Gary


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

