Skip to content

:eacces error when running mix_test_interactive on Windows #146

@Adhil-BIsquared

Description

@Adhil-BIsquared

Describe the bug
When running mix test.interactive on Windows, the process crashes with :eacces. It looks like the library tries to spawn a helper executable called zombie_killer that isn’t runnable on Windows.

Error output

09:37:59.946 [error] GenServer MixTestInteractive.InteractiveMode terminating
** (stop) :eacces
    erlang.erl:12788: :erlang.open_port({:spawn_executable, ~c"d:/Projects/todo_app/_build/dev/lib/mix_test_interactive/priv/zombie_killer"}, [:use_stdio, {:env, [{~c"MIX_ENV", ~c"test"}]}, :exit_status, :binary, :hide, {:args, ["mix", "test"]}])

Environment

  • OS: Windows
  • Elixir: 1.18.4
  • Erlang/OTP 27
  • mix_test_interactive: "~> 5.0"

Questions

  • Is there Windows support for mix_test_interactive?
  • We tried it on macOS and it worked, but why doesn’t it work on Windows?
  • Is there any way to use it on Windows?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions