If the command did not run successfully, the command expansion would exit early, without resetting the standard pipes and the controlling terminal. Fix that.
If the command did not run successfully, the command expansion would exit early, without resetting the standard pipes and the controlling terminal. Fix that.