This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Opening new cygwin window with arguments


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]