X-Recipient: archive-cygwin AT delorie DOT 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 To: cygwin AT cygwin DOT com Subject: Re: Opening new cygwin window with arguments Message-ID: <20120112033732.GE9147@phoenix> Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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