ntoll / uflash

A module and command to easily flash Python onto the BBC's micro:bit device.
http://micropython.org/
MIT License
106 stars 27 forks source link

Feature-Request: Non zero exit code in case of errors #36

Closed wendlers closed 7 years ago

wendlers commented 7 years ago

Hi,

great tool for the mircobit! I just was wondering, if you could make the script exit with a non-zero exit code in case an error occurred. E.g. at the point where the exeption is printed a following "exit(1)" would help to determin from e.g. a shell script if all worked or not.

Regards, Stefan