I want my program to launch some other program and somehow receive all of it's printing output.
The bash/terminall/shell (not sure about my terminology here) does exactly that - you tell it what program to open and it acts as standard output for that program. How can that be implemented? (Asking for a Python version here, but of course C/C++ way is good to know!)
Thanks!