Golyadkin
July 17th, 2007, 09:03 AM
I am programming some application in Python, and made a BASH script to execute it:
chmod +x PyBookcase
#!/usr/bin/bash
python PyBookcase-gui.py
Running it from the console works perfectly. But when I browse to the directory with Nautilus where the files are, and double click it, Nautilus warns me and asks if I want to open or display the file. How do I get rid of this? I want my end users to be able to just double click the script to start the program...
chmod +x PyBookcase
#!/usr/bin/bash
python PyBookcase-gui.py
Running it from the console works perfectly. But when I browse to the directory with Nautilus where the files are, and double click it, Nautilus warns me and asks if I want to open or display the file. How do I get rid of this? I want my end users to be able to just double click the script to start the program...