We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2402a2 commit 792b7f0Copy full SHA for 792b7f0
subprocess/custom_exit.py
@@ -6,3 +6,6 @@
6
raise SystemExit(int(sys.argv[1]))
7
except IndexError as e:
8
raise SystemExit(0) from e
9
+except ValueError as e:
10
+ print("Argument must be an integer")
11
+ raise SystemExit() from e
0 commit comments