New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application name 'dpath' conflicts with Windows shell command #5
Comments
Haha, funny, "DPATH is an undocumented internal utility" - my naming skills are amazing. :-) Seriously, can you explain what actually happens with my dpath tool on Windows? Do you have a suggestion what to do about it? |
I like the name. Unfortunately, it's hard to avoid colliding with any built-in on any platform; especially esoteric undocumented ones. App::DPath installs cleanly on Windows once you apply labrown's patch. The test suite invokes dpath as On Windows, built-in shell commands take precedence over executables of the same name found on the path. In this case it looks like nothing happens when running dpath. There's no error, no output of any kind. What actually happens is that it sets the DPATH environment variable. e.g. Running You can work around the conflict by specifying the path to the script (e.g. I think the only solution is to use a different name -- at least on Windows. |
Resuming while having a break during vacation... Do you know how to install a script with a different name ("ddpath" or "appdpath") depending on OS? I'm happy to take patches. Thanks. |
@renormalist This requires a .PL file to fill |
can PL_FILES be used to transform EXE_FILES, though? |
In Windows, the name 'dpath' conflicts with a built-in shell command of the same name.
cf. http://ss64.com/nt/path.html
The text was updated successfully, but these errors were encountered: