I'm executing a python script from php with way,
$mystring = system('python test.py', $retval);
and it works, I just would like to see error messages from the python script. Is it possible? It is returning output, for example, I see a "print "hello"" from the python script, but I dont see errors from the python scripts, it's obviously failing to load a module because execution stops there and I dont see that error displayed.