Named pipe available to other processes (boost::process)
15 Dec
2017
15 Dec
'17
6:02 p.m.
It seems that boost::process::basic_pipe::basic_pipe(const std::string& name) on posix creates a fifo using mkfifo, opens it and then unlinks it. I imagine there's a good reason for the unlink step in some situations, but it's causing me issues. I would like to use the fifo later with a non-boost::process started process, so by the time I get around to starting the second process, it can't access the fifo. Is there any workaround for this?
2538
Age (days ago)
2538
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mike Gibson