How to escape from a hanging stdout.read() in REPL?

@Cody Maloney, @Chris Angelico, thank you for pointing out the missing b’\n’. What interested me is that once I was trapped into this situation by making a mistake, is there a way to escape from it instead of terminating the Windows cmd box?

1 Like