Re: [PHP] Creating an executer

2007-05-25 Thread Daniel Brown
On 5/25/07, Daniel Brown <[EMAIL PROTECTED]> wrote: On 5/24/07, Richard Lynch <[EMAIL PROTECTED]> wrote: > I only skimmed this, but afaik the only way to get the child PID is to > "fork" rather than to "exec". > > On Thu, May 24, 2007 10:10 am, [EMAIL PROTECTED] wrote: > > Hi, > > > > Summary: >

Re: [PHP] Creating an executer

2007-05-25 Thread Daniel Brown
On 5/24/07, Richard Lynch <[EMAIL PROTECTED]> wrote: I only skimmed this, but afaik the only way to get the child PID is to "fork" rather than to "exec". On Thu, May 24, 2007 10:10 am, [EMAIL PROTECTED] wrote: > Hi, > > Summary: > > 1. I execute script1 that will run in the background (daemon) >

Re: [PHP] Creating an executer

2007-05-24 Thread Richard Lynch
I only skimmed this, but afaik the only way to get the child PID is to "fork" rather than to "exec". On Thu, May 24, 2007 10:10 am, [EMAIL PROTECTED] wrote: > Hi, > > Summary: > > 1. I execute script1 that will run in the background (daemon) > 2. script1 needs to execute script2 and capture STDERR