Skip to content

Conversation

@andrewnicols
Copy link
Contributor

Exit codes for fatal signals is typically 128 + the signal number.

For SIGINT, whose number is 2, it should be 130.

https://www.gnu.org/software/bash/manual/html_node/Exit-Status.html

Exit codes for fatal signals is typically 128 + the signal number.

For SIGINT, whose number is 2, it should be 130.

https://www.gnu.org/software/bash/manual/html_node/Exit-Status.html
@andrewnicols
Copy link
Contributor Author

Hitting Ctrl+C shoudl give an exit code of 130.

Copy link
Contributor

@acoulton acoulton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @andrewnicols - this looks good, just a small comment on BC impact.

@acoulton acoulton merged commit 4d4f089 into Behat:master Nov 20, 2025
21 checks passed
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.

2 participants