# Example which can check exit code status python service.py status echo $?