Skip to content

Return commander exit status - #2037

Open
aamir-azeez wants to merge 1 commit into
pyocd:developfrom
aamir-azeez:fix/commander-exit-status
Open

aamir-azeez wants to merge 1 commit into
pyocd:developfrom
aamir-azeez:fix/commander-exit-status

Conversation

@aamir-azeez

@aamir-azeez aamir-azeez commented Sep 25, 2026 •

Copy link
Copy Markdown

Resolves #1794 (reported by @Hoohaha).

pyocd commander -W -u <missing-probe> fails to connect but exits with status 0. Return the status from PyOCDCommander.run() so scripts can detect the failure.

The hardware-free unit suite passed.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant