On Tue, 2008-07-22 at 23:27 -0400, Daniel Brown wrote:
>     Try this to see if your script is outputting any errors:
> 
> <?php
>     exec('/path/to/python your-script.py 2>&1',$ret);
>     print_r($ret);
> ?>

This worked, was opening a file for which permission was denied. Python
didn't show me anything, when run on the prompt, however when I used the
above method, I did get the error. Thanks!


-anuj



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to