Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runShell steps with non-zero exit codes exit as -2 in bash shells #169

Open
hawkeyexl opened this issue Jun 30, 2024 · 2 comments
Open

runShell steps with non-zero exit codes exit as -2 in bash shells #169

hawkeyexl opened this issue Jun 30, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@hawkeyexl
Copy link
Contributor

However, they run fine locally. Need to investigate why the spawn resolution is failing.

@hawkeyexl hawkeyexl added the bug Something isn't working label Jun 30, 2024
@hawkeyexl
Copy link
Contributor Author

For example, see #168.

@hawkeyexl hawkeyexl changed the title runShell steps with non-zero exit codes are crashing in GitHub Actions runShell steps with non-zero exit codes exit as -2 in bash shells Jul 3, 2024
@hawkeyexl
Copy link
Contributor Author

Upon further investigation, non-zero exits in spawned bash shells are erroring out with a -2 code, regardless what the command actually exited with. Set an error capture to prevent a crash, but need further investigation into how to capture the correct exit code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant