# This is a combination of 4 commits.
# The first commit's message is:
Restart bash if there are any errors

# This is the 2nd commit message:

Limit catches to pexpect.EOF, print previous output

# This is the 3rd commit message:

Catch keyboard interrupts while waiting for bash prompt

# This is the 4th commit message:

Revert try/catch around expect_prompt