On Windows we may run into the MAX_PATH file path limit when referencing files using the absolute path. This method will normalize the file path to the working directory which _may_ be shorter.

get_relative_to_workdir(fqfn)

Arguments

fqfn

The full path of the file to normalize.

Value

A relative path to fqfn from the current working directory given by getwd().