What I mean is, when user click a button on a webpage,
a program which has already installed on his computer would be
executed. I also need to pass some command line para
The way to do it is to register a MIME type handler for your application that is installed on the desktop. This is straightforward but different for each platform. Then, when you want to have the program run, you send a document to the user of your given MIME type.