I\'m writing a NodeJS script which interacts with a 3rd party application. The third party application will write data to a file for the duration that it\'s open. I\'d like for
Of course I figure it out as soon as I ask the question.
let pipeHandle = await promisify(fs.open)(pipePath, fs.constants.O_RDWR);
This opens the fifo without blocking, because it connects a writer and a reader at the same time. There can be multiple writers for a fifo, so the 3rd-party app is still able to connect without any issues.