how to use execl() to compile and run python cgi script()?

tlovaj

New member
I can't figure out how to execute a python cgi script from a c program with execl() this is what i have but it doesn't seem to work.

execl("/bin/bash", "sh", "-c", "p", MYFILE.cgi)
lol no i'm not kidding. i'm able to compile perl scripts with a simple execv() but python scripts dont' seem to run well with it. and honestly I can't find any reading on how to do the above.
 
Back
Top