what is the mod_python equivalent to the php exec command?
$cmd = '/var/www/scripts/test.py' + $parameter
$return = exec($cmd)
I've tried this but it doesn't return anything
varReturn= subprocess.check_output(['/var/www/scripts/resolveID.py ', varParameters)
Capture the stdout and stderr of the subprocess: