Make directoriy.
leading and trailing white spaces are trimmed out.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(os_object), | intent(inout) | :: | self | OS. |
||
| character(len=*), | intent(in) | :: | dir_name | Dir name. |
subroutine mkdir(self, dir_name)
!< Make directoriy.
!<
!< @note leading and trailing white spaces are trimmed out.
class(os_object), intent(inout) :: self !< OS.
character(*), intent(in) :: dir_name !< Dir name.
call execute_command_line(command=self%mkdir_command//' '//trim(adjustl(dir_name)), exitstat=self%error%status)
endsubroutine mkdir