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: 1.7.9: Passing Arguments to cygstart


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


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