mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Mix: Print shell commands output to the console when "make dev"
This commit is contained in:
parent
e71650e6ab
commit
6d61e3590d
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue