Current section

Files

Jump to
expublish lib support test_system_call.ex
Raw

lib/support/test_system_call.ex

defmodule TestSystemCall do
@moduledoc false
require Logger
def cmd(command, options \\ []) do
options_string = Enum.join(options, " ")
"#{command} #{options_string}"
|> String.trim()
|> Logger.info()
{"", 0}
end
end