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:
parent
e71650e6ab
commit
6d61e3590d
2
mix.exs
2
mix.exs
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user