Python Execute Shell Command Capture Output Vs Export