Module

System

Changes by version

Elixir 1.17.0

· 1 change

Enhancement Tool: Elixir

Support use_stdio: false in System.cmd/3 and System.shell/2

Elixir 1.16.3

· 1 change

Bugfix Tool: Elixir

Add a note that arguments are unsafe when invoking .bat/.com scripts on Windows via System.cmd/3

Elixir 1.15.8

· 1 change

Bugfix Tool: Elixir

Add a note that arguments are unsafe when invoking .bat/.com scripts on Windows via System.cmd/3

Elixir 1.15.0

· 2 changes

Enhancement Tool: Elixir

Support :lines in System.cmd/3 to capture output line by line

Bugfix Tool: Elixir

Fix race condition when a script would terminate before System.stop/1 executes

Elixir 1.14.1

· 2 changes

Enhancement Tool: Elixir

Add :close_stdin to System.shell/2

Enhancement Tool: Elixir

Do not close stdin by default in System.shell/2

Elixir 1.14.0

· 1 change

Bugfix Tool: Elixir

Raise non-generic exception on missing env in System.fetch_env!/1 to mirror map operations

Elixir 1.13.0

· 1 change

Enhancement Tool: Elixir

System.get_pid/0 is deprecated, use System.pid/0 instead

Elixir 1.12.0

· 3 changes

Enhancement Tool: Elixir

Add System.trap_signal/3 and System.untrap_signal/2

Enhancement Tool: Elixir

Add System.shell/2 to invoke a command that is interpreted by the shell

Enhancement Tool: Elixir

Deprecate System.stacktrace/0 (it was already deprecated outside of catch/rescue and now it is deprecated everywhere)

Elixir 1.11.0

· 1 change

Enhancement Tool: Elixir

Deprecate System.stacktrace/0 in favor of __STACKTRACE__

Elixir 1.9.0

· 4 changes

Enhancement Tool: Elixir

Add System.restart/0, System.pid/0 and System.no_halt/1

Enhancement Tool: Elixir

Add System.get_env/2, System.fetch_env/1, and System.fetch_env!/1

Enhancement Tool: Elixir

Support SOURCE_DATE_EPOCH for reproducible builds

Bugfix Tool: Elixir

Make sure :init.get_status/0 is set to {:started, :started} once the system starts

Elixir 1.8.0

· 2 changes

Enhancement Tool: Elixir

:seconds, :milliseconds, etc. as time units is deprecated in favor of :second, :millisecond, etc.

Enhancement Tool: Elixir

System.cwd/0 and System.cwd!/0 are deprecated in favor of File.cwd/0 and File.cwd!/0

Elixir 1.7.0

· 1 change

Enhancement Tool: Elixir

Use ISO 8601 in System.build_info/0

Elixir 1.5.0

· 2 changes

Bugfix Tool: Elixir

Raise on paths with null bytes in System.cmd/2 and in System.find_executable/1 (security issue reported by Griffin Byatt)

Bugfix Tool: Elixir

Raise on ill-formed environment variables (security issue reported by Griffin Byatt)

Elixir 1.4.0

· 1 change

Enhancement Tool: Elixir

Deprecate plural time units in favor of singular ones to align with future Erlang releases

Elixir 1.3.3

· 1 change

Bugfix Tool: Elixir

Use NUL instead of /dev/null on Windows when building System.build_info

Elixir 1.3.0

· 1 change

Enhancement Tool: Elixir

Add System.os_time/0 and System.os_time/1

Elixir 1.2.0

· 2 changes

Enhancement Tool: Elixir

Add System.time_offset, System.monotonic_time, System.system_time, System.convert_time_unit and System.unique_integer

Enhancement Tool: Elixir

Allow System.cmd/3 to remove variables by specifying nil values

Elixir 1.0.1

· 2 changes

Enhancement Tool: Elixir

Do not allow relative paths in System.cmd/3 as documented

Enhancement Tool: Elixir

Fix :stderr_to_stdout option in System.cmd/3

Elixir 0.14.3

· 2 changes

Enhancement Tool: Elixir

System.cmd/1 is deprecated in favor of System.cmd/3

Enhancement Tool: Elixir

Giving a char list to System.find_executable/1 is deprecated

Elixir 0.14.2

· 1 change

Enhancement Tool: Elixir

build_info/0 now returns a map

Elixir 0.13.2

· 1 change

Enhancement Tool: Elixir

Convert remaining functions in System to rely on char data

Elixir 0.13.0

· 1 change

Enhancement Tool: Elixir

Add System.delete_env/1 to remove a variable from the environment

Elixir 0.10.2

· 1 change

Enhancement Tool: Elixir

System.get_env/0 now returns a list of tuples as previously advertised

Elixir 0.10.1

· 1 change

Enhancement Tool: Elixir

System.halt/2 was removed since the current Erlang implementation of such function is bugged