fn resolve_path(path: &str, cwd: &str) -> String
Resolve path relative to the current working directory when it is not absolute. Returns the normalized absolute path.
path