problem - Win95
| From: | anet at webmedia dot pl | Date: | Wed, 07 Mar 2001 14:27:04 +0000 |
| Subject: | problem - Win95 | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-464@lists.php.net to get a copy of this message | ||
hi,
i don't know, propably it's some problem with MS Win 95 (or me:)),
but:
i create some
$button = &new GtkButton ();
when clicked, the button calls function starter():
$button->connect ('clicked', 'starter');
which looks like:
function starter()
{
system("start http://www.pathtomysite.pl/");
}
normally, typed in the msdos mode prompt, it should start the
default browser and open the adress specified above in it.
well, it doesn't. it rather hangs up the script. the button freezes
pressed, and the browser doesn't appear.
but - when i end the php-gtk task from task manager - guess what -
browser starts - and it starts with the desired site open....
pozdrawiam
adrian
-----
"Perl - the only language that looks the same
before and after RSA encryption."