tpapp / julia-repl

Run an inferior Julia REPL in a terminal inside Emacs
Other
169 stars 35 forks source link

Make julia-repl--capture-basedir compatible with Windows #132

Open wentasah opened 1 year ago

wentasah commented 1 year ago

Previously, we used shell-command-to-string to run Julia with some arguments. The whole command string was formatted as a command for UNIX shell assuming its quoting rules. This didn't work when the command was executed by Windows' cmd.exe.

Now, we use process-lines instead, which allows specifying individual arguments separately, without assuming UNIX shell and its quoting.

This fixes #128, however there are other problems that prevent julia-repl to work on Windows :-(.