can read GMT scripts from a file. If the script path starts with /, it is relative to the top source directory or relative to configuration variable gmtplot_basedir (if defined).
Path.is_absolute() can check if a path is absolute. On UNIX, it's the same as checking if it starts with /, but on Windows it fails.
can read GMT scripts from a file. If the script path starts with
/
, it is relative to the top source directory or relative to configuration variablegmtplot_basedir
(if defined).Path.is_absolute()
can check if a path is absolute. On UNIX, it's the same as checking if it starts with/
, but on Windows it fails.This PR fixes the issue.