get_absolute_path_by_cd Subroutine

public subroutine get_absolute_path_by_cd(path, absolute_path, error)

Alternative to get_absolute_path that uses chdir/_chdir to determine the absolute path.

get_absolute_path is preferred but get_absolute_path_by_cd can be used in bootstrap mode.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: path
character(len=:), intent(out), allocatable :: absolute_path
type(error_t), intent(out), allocatable :: error