sub _mswin_pipe { my ( $read, $write ) = IO::Socket->socketpair( AF_UNIX, SOCK_STREAM, PF_UNSPEC ); # :WORKAROUND:14/08/2013 14:15:04:: shutdown the socket seems to disable the filehandle in Windows unless ( $Config{osname} eq 'MSWin32' ) { Siebel::Srvrmgr::IPC::_check_shutdown( 'read', $read->shutdown(SHUT_WR) ); # No more writing for reader Siebel::Srvrmgr::IPC::_check_shutdown( 'write', $write->shutdown(SHUT_RD) ); # No more reading for writer } return ( $read, $write ); }