what purpose does that serve though? the response didn't include exec, but 
forking and then execing doesn't make much sense when you can just exec. Maybe 
I'm missing something, but it seems like it'd take up extra resources for no 
reason.
On Jan 20, 2010, at 10:57 AM, Brett McCoy wrote:

> On Wed, Jan 20, 2010 at 12:52 PM, Tyler Littlefield <[email protected]> 
> wrote:
> 
> > um, fork? fork creates a second process, not spawns a specific one...
> 
> The way to use fork for this scenario is to fork the process and then
> use one of the exec...() functions to run the script in the child
> process.
> 
> -- Brett
> ----------------------------------------------------------
> "In the rhythm of music a secret is hidden;
> If I were to divulge it, it would overturn the world."
> -- Jelaleddin Rumi
> 



[Non-text portions of this message have been removed]



------------------------------------

To unsubscribe, send a blank message to 
<mailto:[email protected]>.Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/c-prog/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/c-prog/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to