Re: [perl-win32-gui-users] File Monitoring Script

2003-10-09 Thread leonard . jacobsen
The problem I was having was how to get any new line back to the GUI. Once you do a Win32::GUI::Dialog, the perl script basically stops, and you can only work with the GUI. How would I set up a Sub to run in the background and update the GUI with any changes? I first thought of an alarm, but tha

Re: [perl-win32-gui-users] File Monitoring Script

2003-10-09 Thread Johan Lindstrom
At 15:43 2003-10-09, [EMAIL PROTECTED] wrote: The problem I was having was how to get any new line back to the GUI. Once you do a Win32::GUI::Dialog, the perl script basically stops, and you can only work with the GUI. How would I set up a Sub to run in the background and update the GUI with an

Re: [perl-win32-gui-users] File Monitoring Script

2003-10-09 Thread Greg Pendlebury
Have you thought about setting up a separate thread when the process first starts? It could do all the work and dump output into a socket or pipe. The receiving thread then just checks the socket (I have more experience there, than with pipes) occasionally for waiting input. Greg [EMAIL P