|
From: <php...@li...> - 2008-08-10 15:24:01
|
Hi, you can terminate any Java process with System.exit(code). > I use php-gtk with javabridge under Win32... All my code is > This works fine... At the end of my php script I would like > to terminate the 'javaw' process (win32). Sorry, but this sounds insane. PHP is not a gerneral purpose programming language, you can't start a GUI loop from it. If you do, you'll quickly run out of memory because PHP's reference counter can't reclaim cycles. Second, the PHP/Java Bridge shouldn't be started/terminated for each request. And third, GTK isn't quite stable on Windows, anyway. Why don't you use a proper programming language such as Java, Scheme or Python to write your GUI? Regards, Jost Boekemeier __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com |