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

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > October 2007 > Cannot execute os.system command (Apache 2.2.6, XP HE, Python 2.4.4, ModPython 3.3.1)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

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

2007-10-15, 7:36 am

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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com