Does Windows support multithreading.pipes()? If yes, then what is wrong with this code? Do I need to be using reduction? The code hangs on p2.recv() and I get a RuntimeError when run from the command line.
import multiprocessing
def ProcessCreator(pipe):
pipe.send("hello from other process")
p1, p2 = multiprocessing.Pipe()
proc = multiprocessing.Process(target = ProcessCreator, args = (p2,))
proc.start()
print p1.recv()
if __name__ == "__main__":
multiprocessing.freeze_support()