in reply to Expect object spawn status

On reading the Expect doc, I see there's an exitstatus() method documented - could you not utilise that, respawning as necessary, before running the next command ?

A user level that continues to overstate my experience :-))