Re: [Tutor] Linux app question

2005-08-18 Thread ZIYAD A. M. AL-BATLY
On Thu, 2005-08-18 at 18:10 +0100, Alan G wrote: > It might be /usr/bin/env... It is "/usr/bin/env". You could use "/usr/bin/python" instead under Linux (it might not work under other Unix like OSes). > Yes, in fact you dont really need to rename the file, its just a > nicety. > > All Unix scr

Re: [Tutor] Linux app question

2005-08-18 Thread Alan G
>>THe usual unix shebang trick will work just fine. >> >>call your install script 'install' and put >> >>#! /bin/env/python It might be /usr/bin/env... >> >>as the first line. It should then run directly with no problems. >>Assuming of course that Python is already installed on the web >>server!

Re: [Tutor] Linux app question

2005-08-18 Thread Alberto Troiano
Hey Alan >From: "Alan G" <[EMAIL PROTECTED]> >To: "Alberto Troiano" <[EMAIL PROTECTED]>, >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

Re: [Tutor] Linux app question

2005-08-18 Thread Ewald Ertl
Hi Alberto Alberto Troiano wrote: > Hey tutorslong 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

Re: [Tutor] Linux app question

2005-08-18 Thread Alan G
> 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. > 2.- Is there any way that the script could be started by typing > directly ./installer instead of python ins

[Tutor] Linux app question

2005-08-17 Thread Alberto Troiano
Hey tutorslong 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