julia-repl
julia-repl copied to clipboard
Make `julia-repl-executable-records` customizable
When reporting an issue, please provide
- the Emacs version (
M-x emacs-version [RET]
, will also appear in the buffer*Messages*
),
GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30
- the Julia version (
VERSION
)
v"1.1.1"
- the version of
julia-repl
(something like “latest master” is fine).
MELPA 20190420.1455
- self-contained steps to replicate the issue.
Even with Julia on PATH, Emacs on Windows fails to start Julia with "Spawning child process: invalid argument". It looks like julia-repl--capture-basedir
is failing to spawn Julia in the first place. I'd be happy enough to customize julia-repl-executable-records
and point it directly to Julia, but that is defvar not defcustom. It would be nice if it was customizable.
Perhaps there is a misunderstanding here: you are encouraged to set this variable in your .init.el
or similar, eg this is what I do:
(setq julia-repl-executable-records
'((git "/home/tamas/src/julia-git/julia")
(v1.2 "/home/tamas/src/julia-1.2/julia")
(v1.1 "/home/tamas/src/julia-1.1.1/bin/julia")))
The same error on Windows after setting the variable: "Spawning child process: invalid argument." (setq julia-repl-executable-records '((default "~/AppData/Local/Microsoft/WindowsApps/julia.exe"))) GNU Emacs 27.2, Julia v1.7.2, MELPA 20211230.814.
Does the same executable run outside Emacs, eg in the terminal?
Yes, it runs in the terminal.
The terminal emulator seems to have raised the error.
M-x term
on Windows: "Spawning child process: invalid argument."