Skip to content

Commit ccc0806

Browse files
authored
Don't swallow process exit codes
1 parent e380a24 commit ccc0806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/_pyrepl/simple_interact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def maybe_run_command(statement: str) -> bool:
159159
console.write("\nMemoryError\n")
160160
console.resetbuffer()
161161
except SystemExit:
162-
break
162+
raise
163163
except:
164164
console.showtraceback()
165165
console.resetbuffer()

0 commit comments

Comments
 (0)