Products Resources Support About Us

Rocket Software

Terminal becomes unusable when python interpretter crashes

Title says it all. I am experimenting with python extension modules, which is why the python interpreter is crashing. Once this happens, my bash 4.3 shell becomes unusable and I have to restart my shell session, which has made testing my extension module quite tedious.

As you can see in this image, I attempted redirecting stdout and stderr to a file, but it made no difference.

Any tips for how to workaround this? I can provide my environment variables and bash profile, if needed!