Python Execute Command And Store Output Shaft