View Source osx (util v1.1.5)

OS supporting commands

Link to this section Summary

Functions

Return a path where the use of ".." to indicate parent directory has been resolved. Currently does not accept relative paths.
Return a canonicalized pathname, having resolved symlinks to their destination. Modelled on realpath(3).

Link to this section Functions

-spec command(string()) -> {integer(), list()}.
-spec command(string(), list() | undefined | fun((list(), any()) -> any())) -> {integer(), any()}.
-spec command(string(), list(), undefined | fun((list(), any()) -> any())) -> {integer(), any()}.
-spec normalpath(list()) -> string().
Return a path where the use of ".." to indicate parent directory has been resolved. Currently does not accept relative paths.
-spec realpath(string()) -> string().
Return a canonicalized pathname, having resolved symlinks to their destination. Modelled on realpath(3).
-spec status(integer()) ->
          {status, ExitStatus :: integer()} | {signal, Singnal :: integer(), Core :: boolean()}.