Skip to content

Commit 1a2e37c

Browse files
authored
Rollup merge of #38299 - achanda:ctrl-c, r=brson
Handle Ctrl+C in the build script
2 parents 1702795 + b7cd840 commit 1a2e37c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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)