Opening new cygwin window with arguments

Gary Johnson garyjohn@spocom.com
Thu Jan 12 03:36:00 GMT 2012


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



More information about the Cygwin mailing list