I'm trying to implement IPC using named pipes in Python, but there is a problem. open blocks the process
import os
path = '/tmp/fifo'
os.mkfifo(path)
fifo = open(path, 'w') # never returns
Same with open(path, 'r')
What am I doing wrong?
Python 3.6.1