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 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


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