Module osx
Authors: Serge Aleynikov (saleyn@gmail.com).
Description
OS supporting commandsFunction Index
command/1 | |
command/2 | |
command/3 | |
normalpath/1 | Return a path where the use of ".." to indicate parent directory has been resolved. |
realpath/1 | Return a canonicalized pathname, having resolved symlinks to their destination. |
status/1 |
Function Details
command/1
command(Cmd :: string()) -> {integer(), list()}
command/2
command(Cmd :: string(),
Fun :: list() | undefined | fun((list(), any()) -> any())) ->
{integer(), any()}
command/3
command(Cmd :: string(),
Opt :: list(),
Fun :: undefined | fun((list(), any()) -> any())) ->
{integer(), any()}
normalpath/1
normalpath(S :: list()) -> string()
Return a path where the use of ".." to indicate parent directory has been resolved. Currently does not accept relative paths.
realpath/1
realpath(Path :: string()) -> string()
Return a canonicalized pathname, having resolved symlinks to their destination. Modelled on realpath(3).
status/1
status(Status :: integer()) ->
{status, ExitStatus :: integer()} |
{signal, Singnal :: integer(), Core :: boolean()}