25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01:00

Mix: Print shell commands output to the console when "make dev"

This commit is contained in:
Badlop 2023-12-19 22:44:25 +01:00
parent e71650e6ab
commit 6d61e3590d

View File

@ -254,7 +254,7 @@ defmodule Ejabberd.MixProject do
execute = fn(command) -> execute = fn(command) ->
case function_exported?(System, :shell, 1) do case function_exported?(System, :shell, 1) do
true -> true ->
System.shell(command) System.shell(command, into: IO.stream())
false -> false ->
:os.cmd(to_charlist(command)) :os.cmd(to_charlist(command))
end end