25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +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) ->
case function_exported?(System, :shell, 1) do
true ->
System.shell(command)
System.shell(command, into: IO.stream())
false ->
:os.cmd(to_charlist(command))
end