elixir
elixir copied to clipboard
Missing debug on calling external commands
Elixir and Erlang/OTP versions
N/A - Latest stable release, see:
$ elixir --version
Erlang/OTP 27 [erts-15.1.1] [source] [64-bit] [smp:32:32] [ds:32:32:10] [async-threads:1] [jit:ns]
Elixir 1.17.3 (compiled with Erlang/OTP 27)
Operating system
N/A - It's related to issue on Windows, but may happen on every distro/OS
Current behavior
The following line silences possible error messages coming from external commands (in related topic it's escript.exe
):
https://github.com/elixir-lang/elixir/blob/78f63d08313677a680868685701ae79a2459dcc1/lib/mix/lib/mix/shell.ex#L132
Here is a link to mentioned related issue posted on forum with more details from me: 26th post in Not being able to compile telemetry dependency # Phoenix Forum |> Questions / Help
Expected behavior
When status != 0
and env MIX_DEBUG
is set to 1
the error message should be printed in order to further investigate issue with external commands.