mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
jupyter-start-kernel: Create jupyter-runtime-directory
is necessary
Closes #3
This commit is contained in:
parent
ad3ba3bdf5
commit
7e42bdd80e
1 changed files with 2 additions and 0 deletions
|
@ -192,6 +192,8 @@ kernel. Starting a kernel involves the following steps:
|
|||
(conn-file (make-temp-file "emacs-kernel-" nil ".json")))
|
||||
;; Write the connection info file
|
||||
(let ((json-encoding-pretty-print t))
|
||||
(unless (file-directory-p jupyter-runtime-directory)
|
||||
(make-directory jupyter-runtime-directory 'parents))
|
||||
(with-temp-file conn-file
|
||||
(insert (json-encode-plist conn-info))))
|
||||
;; Start the process
|
||||
|
|
Loading…
Add table
Reference in a new issue