Main library throws exceptions on shell exec failures