Re: external program execution
| From: | Alan Knowles | Date: | Fri, 16 Aug 2002 08:55:08 +0000 |
| Subject: | Re: external program execution | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2336@lists.php.net to get a copy of this message | ||
threading - but that in my talk :)
have you tried popen('someapp &','w'); ??
regards
alan
Gabor Hojtsy wrote:
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