How can I pipe a stream from a python script without using stdout for piping (on a Linux system)?
I want to pass data from a python program to a C++ program like this:
python3 master.py | ./slave.o
But I don't want to occupy the stdout because I need it for keyboard inputs.
I've also tried using a named pipe. However, this is too slow because for each data line I have to open and close the named pipe.