Skip to content

Commit b7cd840

Browse files
committed
Handle Ctrl+C in the build script
1 parent e0158e0 commit b7cd840

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: x.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,7 @@
1616

1717
import bootstrap
1818

19-
bootstrap.main()
19+
try:
20+
bootstrap.main()
21+
except KeyboardInterrupt:
22+
sys.exit()

0 commit comments

Comments
 (0)