in reply to Re: Application Not Responding
in thread Application Not Responding
Anyway, the subprocess does all the time-consuming stuff and sends back progress/error/completion reports via an IPC mechanism (e.g. a socket). You can use Tk::Event->fileevent for the parent process to get these notifications. Meanwhile the parent process is responding to normal window messages.
Update: Well, I spoke too soon. fork() blows chunks with Perk/Tk under Win32 and fileevent doesn't work either (althought it may "soon"). You can create a subprocess using Win32::Process. For one approach to IPC, see this.
|
|---|