Add fatal error check

Prevent launching additional commands if the process is dying
This increases the chance the developer will get the error message
before we segfault somewhere.

Change-Id: I575906b22364c0d03859140570ca29bf8f336c01
4 files changed