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

batchspawner/batchspawner: Fix exception handling in run_command. #195

Merged

Conversation

olifre
Copy link
Contributor

@olifre olifre commented Nov 27, 2020

The exception handling in run_command had several issues
which this commit fixes:

  • Don't use undefined variable.
  • communicate() may block forever if process already
    closed the pipes.
  • exceptions during exception handling were not handled.

The exception handling in run_command had several issues
which this commit fixes:
- Don't use undefined variable.
- communicate() may block forever if process already
  closed the pipes.
- exceptions during exception handling were not handled.
@welcome
Copy link

welcome bot commented Nov 27, 2020

Thanks for submitting your first pull request! You are awesome! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please make sure you followed the pull request template, as this will help us review your contribution more quickly.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@consideRatio
Copy link
Member

consideRatio commented Jan 29, 2021

This LGTM and is a obvious bugfix! Thank you @olifre ❤️ 🎉

Thank you for your clear PR summary, it provided very relevant help for me to review this!

@olifre
Copy link
Contributor Author

olifre commented Jan 29, 2021

@consideRatio Many thanks for merging and for the positive feedback, this really makes contributing a delight 😄 .

@olifre olifre deleted the fix-command-exception-handling branch January 29, 2021 12:20
@consideRatio consideRatio mentioned this pull request Jan 30, 2021
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants