If options.cwd is specified then it is prepended in front of node_modules/.bin in the path. But this means (if options.cwd is not absolute) when changed to the new working directory the path addition is wrong (it should be just node_modules/.bin).
And when options.cwd is absolute then node_modules/.bin would still be correct. So shouldn't options.cwd not be included in the node_modules/.bin path?