1.7.9: Passing Arguments to cygstart

Ryan Johnson ryan.johnson@cs.utoronto.ca
Fri Jan 13 16:35:00 GMT 2012


On 13/01/2012 10:43 AM, Emmett Kelly wrote:
> I am attempting to start a program using cygstart.
> I am logged in through an SSH from a linux machine, I am capable of starting the program using:
> cygstart program.exe
Forgive my ignorance here, but is there a reason you can't just 
"./program.exe" ?

Cygstart is for invoking a registered Windows action for non-executable 
files (e.g. open or print; see man page for cygstart).

IOW, if double-clicking on an xml file in Windows Explorer would run 
program.exe, then just 'cygstart file.xml' Otherwise, ./program.exe 
file.xml should work great (I'm not aware of anything "special" about 
cygstart wrt GUI-over-ssh issues).

Ryan


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