I\'m relatively new to both Python and bash. However, I am finding Python much more intuitive and easier than bash. I have a few bash scripts I have managed to cobble togeth
I would suggest you to look at the subprocess module in python. You can start another process using it, manipulate its streams and get the return code.