in reply to Re: Win32: Redirect STDOUT to socket
in thread Win32: Redirect STDOUT to socket

Thanks, BrowserUk. Yes, I know the path of forking on Win32 is fraught with doom :)

Just curious at this point: how does Perl do qx() in Win32? We can't emulate it another way? Please see my OP update.

Replies are listed 'Best First'.
Re^3: Win32: Redirect STDOUT to socket
by BrowserUk (Patriarch) on Feb 09, 2009 at 18:46 UTC
      Thanks so much for the links! I tried to have the newly created process inherit filehandles from the calling process with no luck. Perhaps I'm missing something? See UPDATE #2.

        Sorry, but posting updates to the root node, and then new nodes saying you've done so just makes life harder for everyone. Why not just post the update in the new node?

        You are still using fork which gives you a thread not a process on win32. And you are still trying to use AF_UNIX, SOCK_STREAM, on win32 which doesn't make any sense as Win32 doesn't know about unix sockets.