"west build" exits with code 0 when interrupted with Ctrl-C (SIGINT)
xudongzheng opened this issue · comments
Xudong Zheng commented
If "west build" is used as part of a larger script, it can be helpful to distinguish between a complete build versus an interrupted build.
$ west --version
West version: v1.0.0
$ python3 --version
Python 3.8.9
Marti Bolivar commented
This is a valid issue, but it will require some changes to west's internals and a new release to fix.
Marc Herbert commented
Marti Bolivar commented
Fix is posted: #639
Marti Bolivar commented
@xudongzheng could you please test the latest main branch fixes your issue?
Xudong Zheng commented
@mbolivar-nordic Thank you for the fix. I can confirm this solves the issue - process now exists with code 130 on macOS when west is interrupted with Ctrl-C.
Marti Bolivar commented
Thank you for testing! I will make a new west release soon.