When not running as a shell return boolean to indicate if command worked...

Added in the ability to return a flag indicating whether the command worked.