Closed philipgiuliani closed 4 years ago
System.cmd
accepts a list of string-string tuples, not a keyword list.
iex> Keyword.keyword?([{"MIX_ENV", "test"}])
false
Good news is, Rambo already accepts that and it‘s documented!
Oh, I looked for it but missed it 😅 Thank you!
System.cmd
has the possibility to pass a keyword list ofenv
variables for executing the command.See: https://github.com/elixir-lang/elixir/blob/v1.10.2/lib/elixir/lib/system.ex#L730
It would be nice to also have this feature in Rambo!