Return the exit code of the driver process