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

Return exit code from spawned process in run scripts #46

Merged
merged 1 commit into from
Nov 8, 2016

Conversation

fobos
Copy link
Contributor

@fobos fobos commented Nov 8, 2016

Closes #44

If child process return non zero exit status, main process exits with it status as well.
Make small refactoring.

I'm working on tests for the case

@fobos fobos force-pushed the correct-scripts-exit-codes branch from 1a38c34 to 9179b76 Compare November 8, 2016 18:48
@halfzebra
Copy link
Owner

halfzebra commented Nov 8, 2016

Thank you for the contribution @fobos, looks like a clear win! 👍

Merged!

@halfzebra halfzebra merged commit da17c52 into halfzebra:master Nov 8, 2016
@fobos
Copy link
Contributor Author

fobos commented Nov 9, 2016

@halfzebra

looks like a clear win

Not yet. I'm going to add a test case for it. :)

@fobos fobos deleted the correct-scripts-exit-codes branch November 10, 2016 16:07
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