Handle Ctrl+C in the build script
This commit is contained in:
parent
e0158e02f9
commit
b7cd840dd7
1 changed files with 4 additions and 1 deletions
5
x.py
5
x.py
|
@ -16,4 +16,7 @@ sys.path.append(os.path.abspath(os.path.join(dir, "src", "bootstrap")))
|
|||
|
||||
import bootstrap
|
||||
|
||||
bootstrap.main()
|
||||
try:
|
||||
bootstrap.main()
|
||||
except KeyboardInterrupt:
|
||||
sys.exit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue