zephyrproject-rtos / west

West, Zephyr's meta-tool

Home Page:https://docs.zephyrproject.org/latest/guides/west/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"west build" exits with code 0 when interrupted with Ctrl-C (SIGINT)

xudongzheng opened this issue · comments

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

This is a valid issue, but it will require some changes to west's internals and a new release to fix.

This was just discussed in

Maybe also in much older:

Fix is posted: #639

@xudongzheng could you please test the latest main branch fixes your issue?

@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.

Thank you for testing! I will make a new west release soon.