capture cucumber exit status