Don't throw on non-zero exit in mach commands

Fixes #3344.
Merge pull request #3345 from mbrubeck/mach-exception

Don't throw on non-zero exit in mach commands