X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4F0E57DF.8030301@dancol.org> Date: Wed, 11 Jan 2012 19:47:43 -0800 From: Daniel Colascione User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Opening new cygwin window with arguments References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC89EBABB27F2CDD9F5525116" X-IsSubscribed: yes 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 --------------enigC89EBABB27F2CDD9F5525116 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 1/11/12 7:07 PM, Jon Hughes wrote: > What I want to do is open a new cygwin window=20 There's no such thing as a "cygwin window". Do you mean a mintty instance? > 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: >=20 > cygstart sh "tail -f foo" >=20 > Any help would be appreciated You want to run: mintty -e tail /your/file/here (Note that it's _not_ -e "tail /your/file/here". -e works a bit like cmd.exe's /c flag in that it interprets all following arguments as part of the command to run.) --------------enigC89EBABB27F2CDD9F5525116 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAk8OV98ACgkQ17c2LVA10Vst9gCfQN7sT5Ir8p5UiQMjFHBcRkhK vjcAniSj0lDcrA0kalDdbAvGPGWgOF3r =nrhz -----END PGP SIGNATURE----- --------------enigC89EBABB27F2CDD9F5525116--