in reply to Re^10: Please suggest a non-forking way to do this (OS: windows)
in thread Please suggest a non-forking way to do this (OS: windows)
This slightly modified version using STDIN works fine, in a non-blocking manner for me on linux.
I just showed that your fcntl command doesn't work on Windows.
Is your error coming on a Windows platform? If thats so, nothing I can do, except encourage people to switch to a real operating system, instead of a game platform. :-)
Windows does have an equivalent to unix's file handles and select (events that can be tied to file handles and WaitForMultipleObjects), but Perl doesn't support them.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^12: Please suggest a non-forking way to do this (OS: windows)
by zentara (Cardinal) on Sep 30, 2008 at 16:23 UTC | |
by ikegami (Patriarch) on Oct 01, 2008 at 01:58 UTC |