Python Execute Shell Command Get Return Value From Function