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

micromamba run should pass signals to child #1820

Open
jonashaag opened this issue Jul 25, 2022 · 1 comment
Open

micromamba run should pass signals to child #1820

jonashaag opened this issue Jul 25, 2022 · 1 comment
Labels
type::bug Something isn't working

Comments

@jonashaag
Copy link
Contributor

I need to double check this but it seems like signals are not (always?) passed to the child. To reproduce, run micromamba run bash and press Ctrl+C, it will stop the child (but only on Windows?).

@ken-lauer
Copy link

I ran into this bug this week, where the subprocesses of micromamba run were somehow getting orphaned rather than killed. I was rather surprised to find micromamba run not able to forward signals to be the cause.

For context, this was using micromamba run to spawn conda environment-based IPython kernels for JupyterHub - this isn't something that's officially supported, but rather something I'm testing out. For now to avoid this issue, it seems like eval "$(micromamba shell hook -s bash)" && micromamba activate /path/to/env && exec python -m ipykernel_launcher ... may be my best option, however clunky it may be.

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

No branches or pull requests

2 participants