[Tutor] Linux app question
Alberto Troiano
albertito_g at hotmail.com
Thu Aug 18 01:07:08 CEST 2005
Hey tutors....long time don't see...*grin*
I have a question, I've made a web page in PHP and its going to run under
Linux Red Hat 9.0
The page has scripts that has to be on a certain path off the system...I
have to make a CD to give the web page to my client and I made a script
using Python 2.2.2 so when he runs it, the data in the CD will be copied
automatically to the path where every script has to be
My question is:
Obviously I will have the cdrom in /mnt/cdrom and in order to run the
"installer" the user will have to type
python /mnt/cdrom/installer.py
1.- Is there any way that the script can be started when he mounts the CDROM
with the command mount /mnt/cdrom?
2.- Is there any way that the script could be started by typing directly
./installer instead of python installer.py?
Thanks in advanced
Alberto
More information about the Tutor
mailing list