3

How to make shell script to run with mouse click?

view full story
linux-howto

http://forums.opensuse.org – Hi, I have a shell script file 'program': Code: #!/bin/sh python "./main.pyw" it is an executable (I made it an executable from the properties) and I can run it from a console with './program'. But when I double-click on the file nothing happens. I thought that was the whole point making it executable. Otherwise I can type the command itself in a console. Does anyone know how to make it run by clicking the mouse rather than from a console? Thank you. (Distributions)