Running cluster side commands via Apache CGI scripts

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Running cluster side commands via Apache CGI scripts

Kiorp Pilu
Hello, 

I am in a linux environment. In my python code, I am trying to do :
myScript.py 
    - subprocess.call(["ls", "-l"])

This command is inside my CGI script. The script is called successfully, but this command wont run. 

How can I make the CGI script process server side commands ? Any special modules to incorporate ?

Thanks, 
Dann

Loading...