Raxol. Core. SystemInteraction behaviour
(Raxol v2.6.0)
View Source
Defines a behaviour for interacting with the operating system, allowing for mocking.
Summary
Callbacks
Finds an executable like System.find_executable/1
Returns the OS type like :os.type()
Executes a system command like System.cmd/3
Callbacks
Finds an executable like System.find_executable/1
Returns the OS type like :os.type()
@callback system_cmd(binary(), [binary()], keyword()) :: {binary(), non_neg_integer()}
Executes a system command like System.cmd/3