Skip to content

elixir repl won't work on windows, because the wrong program is executed #747

@whatlaa

Description

@whatlaa

On windows, iex is iex.bat. There's another program called iex that clashes with iex.bat. Here's the suggested change to fix this issue:

;; fnl/conjure/client/elixir/stdio.fnl line 49
(config.merge
  {:client
   {:elixir
    {:stdio
     {:command (if (= (. (vim.loop.os_uname) "sysname") "Windows_NT") "iex.bat --no-color" "iex --no-color"); M.start will overwrite this.
      :standalone_command (if (= (. (vim.loop.os_uname) "sysname") "Windows_NT") "iex.bat --no-color" "iex --no-color")
      :prompt_pattern "iex%(%d+%)> "}}}})

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions