Better handle exec errors