forking hell
| From: | Ian Boxsell | Date: | Wed, 03 Jul 2002 11:53:51 +0000 |
| Subject: | forking hell | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-2184@lists.php.net to get a copy of this message | ||
hi all
b4 Q would like to warn you that i am a VERY amateur code cutter
my research indicates that if i want to call a 3rd party app (perl script that may take a while to
run)
and continue on with app that i need to
have php >=4.2.0
compile with --enable-pcntl
be on a unix variant/platform
and use pcntl_exec to call perl (or whatever else i may wish to call)
Q: anyone had success with this method ?? has anyone got a sample which calls a 3rd party app ?? and
is pcntl_exec a goer in php-gtk ??
have read alan's summation http://www.akbkhome.com/news/fixing%20fork
that pcntl_fork() is the business and
then had difficulty applying the example to my situation (read i don't get it - no offence alan
refer to line 1)
thanks in advance
ib
ps it is puking the sickess here (overheard this from snowboarders - i think they meant it was
snowing)
intend to be kneedeep in the sickness myself in the morning...
pps Q: what's the difference between a snowboard and a vacuum cleaner
A: the way you attach the dirtbag