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
You can register a protocol to your application so that navigating to a URL beginning with that scheme will launch your application and run a command.