[PHP] 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

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

2008-07-22 Thread Daniel Brown
On Tue, Jul 22, 2008 at 11:27 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > > If all else fails, and you're aware of the side-effects, go fork() yourself. > ;-P For posterity: http://php.net/pcntl [See: pcntl_fork(), et al.] -- Better prices on dedicated servers: Intel 2.4GH

[PHP] 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, > >