Cannot execute os.system command (Apache 2.2.6, XP HE, Python 2.4.4, ModPython 3.3.1)

Cannot execute os.system command (Apache 2.2.6, XP HE, Python 2.4.4, ModPython 3.3.1)

am 15.10.2007 11:22:50 von vinci

Hi,
I have a simple HTML form that calls a Pyhton script containing this
line:

os.system("python my_program.py [form_arguments]"),

but Apache cannot execute the command "python my_program.py
[form_arguments]".

Does anyone know why and how to make it work on Windows XP HE, Apache
2.2.6, Python 2.4.4 and ModPython 3.3.1?

Thank you very much!



--
Vinci

Re: Cannot execute os.system command (Apache 2.2.6, XP HE, Python2.4.4, ModPython 3.3.1)

am 16.10.2007 03:06:10 von David McKenzie

Vinci wrote:
> Hi,
> I have a simple HTML form that calls a Pyhton script containing this
> line:
>
> os.system("python my_program.py [form_arguments]"),
>
> but Apache cannot execute the command "python my_program.py
> [form_arguments]".
>
> Does anyone know why and how to make it work on Windows XP HE, Apache
> 2.2.6, Python 2.4.4 and ModPython 3.3.1?
>
> Thank you very much!
>
>
>
> --
> Vinci
>
Hi,

Why don't you write any more? We used to be such good friends! All the
other people on this group still contact me whenever they need me, why
don't you?

Regards,
Google

--
DM davidm@cia.com.au

'It would go against respecting principles and truth if you have to
respect and accept anything just because it is the other side's view.'
- Kim Jung Ill