putting window on hold ? idle?
| From: | Simon Wheeler | Date: | Mon, 29 Oct 2001 15:19:08 +0000 |
| Subject: | putting window on hold ? idle? | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-480@lists.php.net to get a copy of this message | ||
Hi again, this GTK malarkey is a love-hate thing isn't it...not sure whether to kiss it or kill
it :) - OK if I had a clue about OOP etc it may help somewhat.
I have 2 perfectly good apps, which I want to be able to run separately, I also however want to call
one from the other, I have achieved this by various dodgy methods including exec()'ing batch
files etc.
Anyway, with the 2 apps that actually do anything useful, when I call one the other
'freezes' , which is ok, but when I close the second window, the first 'is not
responding...' etc and I have to close the window and tell MS that no ,I don't want to
send an error report.
The problem boils down to (I think) that exec/system/backticks/passthru etc all expect a return
value and sit there waiting and eventually give up, now if this were a CGI script on a webserver I
could flush the output to /dev/null , but I am not and this is windows anyway, so does anyone know
how I could overcome my problem
I know this is not technically a GTK issue, but I though that someone here may have come up against
this in their travels
Regards,
Simon Wheeler.
firepages.
PS I am sticking a PHP-GTK package into phpdev5 - anyone have any code snippets that they would like
to contribute to the package? only have to be simple things (prefer simple!)