NYCPHP Meetup

NYPHP.org

[nycphp-talk] pcntl_fork() assistance

Joseph Crawford codebowl at gmail.com
Wed Sep 20 11:55:10 EDT 2006


Hey guys,

I am trying to use pcntl_fork() on the mac, hoever when i do

$pid = pcntl_fork();
echo $pid; // nothing returns
I am guessing that it is returning a blank string but not sure how to debug
that, i tried var_dump($pid) but i get nothing (not sure if this is due to
being a command line util or not.

The question is does pcntl_fork work on the mac ??

-- 
Joseph Crawford Jr.
Zend Certified Engineer
Codebowl Solutions, Inc.
http://www.codebowl.com/
Blog: http://www.josephcrawford.com/
1-802-671-2021
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20060920/aa47925a/attachment.html>


More information about the talk mailing list