Re: [PHP-INSTALL] Executing a python script from within perl

2008-07-22 Thread Anuj Bhatt
On Tue, 2008-07-22 at 23:27 -0400, Daniel Brown wrote: > Try this to see if your script is outputting any errors: > > 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 anythin

Re: [PHP-INSTALL] Executing a python script from within perl

2008-07-22 Thread Daniel Brown
Forwarded to the appropriate list (PHP General). Anuj: If you're not already subscribed, please visit http://php.net/mailinglists and subscribe to the PHP General list, or send a blank email to [EMAIL PROTECTED] On Tue, Jul 22, 2008 at 11:09 PM, Anuj Bhatt <[EMAIL PROTECTED]> wrote: > Hi, > >

[PHP-INSTALL] Executing a python script from within perl

2008-07-22 Thread Anuj Bhatt
Hi, I'm new to PHP and just installed apache2 with php support. I'm trying to execute a Python script (from within php), which does take a good amount of time and am waiting for it to terminate so that I can process the output and print that out in HTML. The problem I'm having is that I can't ge