external program execution
| From: | Gabor Hojtsy | Date: | Fri, 16 Aug 2002 08:50:13 +0000 |
| Subject: | external program execution | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-2335@lists.php.net to get a copy of this message | ||
Hi!
It seems to me, that neither system(), exec() or `` can be used
to execute an external program with Windows PHP-GTK. Actually it
does run that program, but freezzes my PHP-GTK app, and that
external program only shows up if I kill the PHP-GTK app. The
question if is there are is any method to run an external program
OS independetly. PCNTL functions are not available on Win32 so no
fork is possible :(
This would be a vital part of one of my new applications...
I also tested this with a command line PHP script (non-PHP-GTK), and
it does run the external program and continue execution (with any of
exec(), system() or ``), so this must be some PHP-GTK problem.
Goba