Ok, I know see that os.spawnl() will suffice. However, how do I retrieve the output of the command. For example, import os os.spawnl(os.P_WAIT, '/bin/date') Successfully executes the 'date' app, but I am unaware of how to get its output