This commit splits out the msys2 and cygwin path functions for expanding a path with the cygpath tool. It also ensures that the tool itself exists when the Which class is called so that it doesn't attempt to escape slashes on nil.
This commit splits out the msys2 and cygwin path functions for expanding a path with the cygpath tool. It also ensures that the tool itself exists when the Which class is called so that it doesn't attempt to escape slashes on nil.