X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <CANc+RapKxS3xVVxtXo6=NYfpfvL=B2Sdk8xKaJ1UVPRKRgxvBA@mail.gmail.com> References: <CANc+RapKxS3xVVxtXo6=NYfpfvL=B2Sdk8xKaJ1UVPRKRgxvBA AT mail DOT gmail DOT com> Date: Thu, 12 Jan 2012 09:36:41 +0000 Message-ID: <CAHWeT-aORQdG2+LZZsLRoL7BMudsNcfExS3FZiF0vyw+YwpuXg@mail.gmail.com> Subject: Re: Opening new cygwin window with arguments From: Andy Koppe <andy DOT koppe AT gmail DOT com> To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: <cygwin.cygwin.com> List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 12 January 2012 03:07, 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" Just do: cygstart tail -f foo This works because Windows automatically creates a console window for programs that need one, i.e. you don't need sh in there. Andy -- 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