Expand description
Check each component of path
and see if it is a symlink. If so, resolve it.
Do not fail for non-existing components, but assume these are as is.
If path
is relative, cwd
will be used to make it absolute (assuming cwd
is absolute too).