I wonder if I can use stdout from python code as an input for another daemon process such as gnome-calculator for instance and if so how could I achieve that.
The goal is to automate the interaction with an app (not with gnome-calculator) later on (pen-testing would be one application).
I know how I would do that with two processes that are both launched from the terminal, for instance:
python ps1.py | python ps2.py
I've also read that you can interact with processes using proc/$pid
directory, but I don't understand how would one do that either.