Empty system $ENV elixir

By default when you start an external process the current system env is passed.

You can clean it using the following code.

:os.getenv() |> Enum.map(&(:string.split(&1, '='))) |> Enum.map(&List.first(&1)) |> Enum.each(&(:os.unsetenv(&1)))

Stay up to date

Sign up for the mailing list and get notified via email when new blog posts come out.