[Tutor] Linux app question
albertito_g at hotmail.com
Thu Aug 18 15:14:24 CEST 2005
>From: "Alan G" <alan.gauld at freenet.co.uk>
>To: "Alberto Troiano" <albertito_g at hotmail.com>, <tutor at python.org>
>Subject: Re: [Tutor] Linux app question
>Date: Thu, 18 Aug 2005 08:25:51 +0100
>>1.- Is there any way that the script can be started when he mounts the
>>CDROM with the command mount /mnt/cdrom?
>I don't know of any way to autostart a CD program on mount in Linux.
Now we are two
>>2.- Is there any way that the script could be started by typing directly
>>./installer instead of python installer.py?
>THe usual unix shebang trick will work just fine.
>call your install script 'install' and put
>as the first line. It should then run directly with no problems.
>Assuming of course that Python is already installed on the web server!
This I didn't know, so in order to work I would have to rename installer.py
to only installer and in the shell I would only type installer and it would
If this work I'm done..It's godd enough to give them a CD and tell them to
type installer to run it
More information about the Tutor