From 82a76ca3f1d7746cbf55957edc3487592419c802 Mon Sep 17 00:00:00 2001 From: PRD <32349731+fakeGenuis@users.noreply.github.com> Date: Thu, 1 May 2025 22:10:00 +0800 Subject: [PATCH] fix remote kernel hang with TRAMP --- jupyter-env.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyter-env.el b/jupyter-env.el index 4ed9836b..8775d124 100644 --- a/jupyter-env.el +++ b/jupyter-env.el @@ -180,7 +180,7 @@ The session can be used to write a connection file, see ;; Wait until the connection file is cleaned up before ;; forgetting about the process completely. (jupyter-with-timeout - (nil jupyter-default-timeout + (nil (if (file-remote-p conn-file) 0 jupyter-default-timeout) (delete-file conn-file)) (not (file-exists-p conn-file))) (delete-process process)