Re: runs
| From: | Gabor Hojtsy | Date: | Wed, 02 Oct 2002 12:45:05 +0000 |
| Subject: | Re: runs | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2499@lists.php.net to get a copy of this message | ||
> There are quite some tips at http://php.net/exec, though I was
> unable to come up with anything really working. Eveything described
> there, including mikehup, bgrun and all the shell hacks makes my
> PHP-GTK app freeze or run the application but pass on the focus to
> that app (it's a GUI one, iexplorer actually), so the PHP-GTK app
> is only displayed as a blank white window with no child widgets,
> till I quite iexplore (then everything is back to normal).
>
> My method is:
>
> system(
> "CMD.EXE /C " .
> "c:\\progra~1\\intern~1\\iexplore ".
> "http://gtk.php.net/ >NUL"
> );
>
> This opens the PHP-GTK page on windows, but makes the PHP-GTK app
> uninteractive, till I close iexplore... :(( Anyone with tips?
BTW nor exec, ``, shell_exec or appending a & instead of >NUL helped.
>NUL does not even seem to be needed in this case. Do anyone know
a good way?
Thanks in advance,
Goba