
  [;1m-spec get_cwd(Drive) -> {ok, Dir} | {error, Reason}[0m
  [;1m                 when[0m
  [;1m                     Drive :: string(),[0m
  [;1m                     Dir :: filename(),[0m
  [;1m                     Reason :: posix() | badarg.[0m

  Returns [;;4m{ok, Dir}[0m or [;;4m{error, Reason}[0m, where [;;4mDir[0m is the
  current working directory of the specified drive.

  [;;4mDrive[0m is to be of the form [;;4mLetter:[0m, for example, .

  Returns [;;4m{error, enotsup}[0m on platforms that have no concept of
  current drive (Unix, for example).

  Typical error reasons:

   • [;;4menotsup[0m - The operating system has no concept of drives.

   • [;;4meacces[0m - The drive does not exist.

   • [;;4meinval[0m - The format of [;;4mDrive[0m is invalid.
