Python Execute Shell Command Capture Output Speed