MagicalMake.SystemCommand (MagicalMake v0.1.2) View Source

Performs operations related to the system command.

Link to this section Summary

Functions

It is just a function that calls System.cmd.

Execute the given system commands.

Link to this section Functions

Link to this function

exec(command, args, opts)

View Source

Specs

exec(binary(), [binary()], [
  {:arg0 | :cd | :env | :into | :parallelism | :stderr_to_stdout, any()}
]) :: :ok

It is just a function that calls System.cmd.

Examples

iex> MagicalMake.SystemCommand.exec("ls", [], [])
:ok

Specs

sys_cmd(:clear | :font_reset) :: :ok

Execute the given system commands.

Examples

iex> MagicalMake.SystemCommand.sys_cmd(:clear)
:ok