command executor - added exit value to log