Re: putting window on hold ? idle?

From: Date: Tue, 30 Oct 2001 00:39:04 +0000
Subject: Re: putting window on hold ? idle?
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-483@lists.php.net to get a copy of this message
Hi All, Killing the terminal window from the PHP script will kill the php application it self. when PHP is executed from a terminal window it is running in the same process. You need to spawn a new process in order to get rid of the terminal window. Have a look at the source code for php_win.exe. It is included in the cvs for php-gtk - Frank > Simon, > > You could try using popen() to fork..... it may still pop up a terminal > window though. > > $fp = popen("c:\phpdev\gtk\php.exe -q -c c:\phpdev\gtk\php.ini -f > c:\phpdev\gtk\htaccess.php > NUL", "r+"); > pclose($fp); > > Let me know if you figure out how to kill the terminal window from within > the proggie. I'm trying to figure out a solution to that problem too:) > > :: geoff > ---------- > Programmer: an advanced tool used for converting caffeine into code. > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, e-mail: php-gtk-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-gtk-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.gtk.general (#483) next »