in reply to opening pipe in windows

There is a Win32::Pipe; if that doesn't do what you need then maybe something in Win32 Process will help.