-spec exec_(string(), [string() | binary()],
list()) -> integer() | {integer(), iolist()}.
Execute a command and return exit code.
If options list contains atom collect_output
then this function will capture the output and return tuple {ExitCode, [Line, Line, ...]}.
If it contains a tuple {search_path, false} then Command is treated as an absolute name.
Arguments:
"ls")
["-a", "."])
erlang:open_port/2