I have a script that I need to translate from unix to windows. The script uses the 'os.mkfifo()' method to create a named pipe. This function is not available under windows. I have found the 'os.pipe()' method, but it doesn't allow to specify a name. The win32pipe api should do the right thing, but all examples I have found seem needlessly complicated. Is there anything that serves as a good alternative to the 'mkfifo' method under windows?
edit: To clarify the use case. I am creating two pipes in the script.
os.mkfifo('/path/to/sendpipe')
os.mkfifo('/path/to/receivepipe')
Another java script accesses these pipes to communicate, which is why I need an explicit file name rather than a pipe ID (which I would get from 'os.pipe()').