Permalink
Browse files
Handle Ctrl+C in the build script
- Loading branch information...
Showing
with
4 additions
and
1 deletion.
-
+4
−1
x.py
|
|
@@ -16,4 +16,7 @@ |
|
|
|
|
|
import bootstrap
|
|
|
|
|
|
-bootstrap.main()
|
|
|
+try:
|
|
|
+ bootstrap.main()
|
|
|
+except KeyboardInterrupt:
|
|
|
+ sys.exit()
|
0 comments on commit
b7cd840