Abstracts system and Mix commands for easier testing.
Provides a behavior that allows mocking system commands during tests.
Summary
Functions
Finds an executable in the system PATH.
Runs a Mix task with the given arguments.
Executes a system command.
Functions
Finds an executable in the system PATH.
Runs a Mix task with the given arguments.
@spec sys_cmd(String.t(), [String.t()], keyword()) :: {binary(), non_neg_integer()}
Executes a system command.