in reply to Win32 fork using open3

Contrary to popular belief, IPC::Open3 does not use fork under Win32. If indeed your open3() even comes from that module (you didn't say).

And I see no hints as to what $main->fileevent is. It looks vaguely like an interface to 4-argument select. If so, then you probably don't know that 4-argument select in Win32 only works on sockets and so can't be used on pipes like you are trying to do there.

        - tye (but my friends call me "Tye")

Replies are listed 'Best First'.
Re: (tye)Re: Win32 fork using open3
by NaSe77 (Monk) on Jun 06, 2002 at 07:12 UTC
    thanks that explains a lot ...

    so i guess its just that since select doesnt work under win32 that blocks the redrawing of my Tk-frontend when the script is executed ...

    so is there a way to execute a script in a nonblocking way under win32 ?

    ----
    NaSe
    :x