-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
jupyter-session-with-random-ports
not terminating kernel
#536
Comments
Just a quick update to this, I tried moving the (sit-for 0.2) from the By the way, if you have any thoughts on a more robust solution for launching kernels without |
wait for process to end as in emacs-jupyter#464 (comment) also appears in other issues emacs-jupyter#471 emacs-jupyter#536
It would be great to get rid of having to eventually call |
I've been struggling with issues similar to #527 and #471 on two different devices. I did a little digging and noticed that after I tried (and failed) to start a repl with
jupyter-run-repl
, there would be a bunch ofpython -m ipykernel_launcher ...
processes hanging around. It seems that theinterrupt-process
call injupyter-session-with-random-ports
doesn't properly shut down the kernel.As a workaround, I found that adding a
(sit-for 1)
immediately after(interrupt-process process)
seems to work. But I imagine there should be a way to ensure that the process has been shutdown properly.The text was updated successfully, but these errors were encountered: