MagicalMake.SystemCommand (MagicalMake v0.1.2) View Source
Performs operations related to the system command.
Link to this section Summary
Link to this section Functions
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