RE: Forking to refresh

2000-12-13 Thread Doughty, Matt
- From: $Bill Luebkert [mailto:[EMAIL PROTECTED]] Sent: 2000$B!I(JN12??14$B!H(Ju 12:42 To: Perl-Win32-Users (E-mail) Subject: Re: Forking to refresh "Doughty, Matt" wrote: > > Umm.. I would suggest either using > select to create a non blocking file > handle or perh

Re: Forking to refresh

2000-12-13 Thread $Bill Luebkert
"Doughty, Matt" wrote: > > Umm.. I would suggest either using > select to create a non blocking file > handle or perhaps filevent() from Tk > but I really think you are best off > using non blocking IO. > something like this: > > use IO::Select; > my $timer = 50; > my $s = IO::Select->new(); > o

RE: Forking to refresh

2000-12-13 Thread Doughty, Matt
d(\*FH); while(1) { for($s->can_read($timer)) { # code with the file handle } # repaint stuff here } -Original Message- From: Tom Heady [mailto:[EMAIL PROTECTED]] Sent: 2000"N12OEZ14"รบ 11:09 To: Christopher Hahn; Perl-Win32-Users (E-mail) Subject: Re: F

Re: Forking to refresh

2000-12-13 Thread Tom Heady
i gave up trying to get fork to work reliably on windows a couple months back at least until i see something that tells me it is working correctly you might just pop up a "working" doalog while it is reading, then dismiss it when you are done ---tom *** REPLY SEPARATOR *** On

Forking to refresh

2000-12-13 Thread Christopher Hahn
Hello, I am facing the age-old problem of having my Perl-Tk interface appear locked up because my read from a pipe is blocking. This is to say: = open(BPIPE, "command_name |"); while () { LogMessage "LINE:$_\n"; $HMain->update(); } ===