Python Execute Shell Command Capture Output