Skip to content
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

perl path should be hardcoded #2

Open
xenu opened this issue Jan 15, 2018 · 0 comments
Open

perl path should be hardcoded #2

xenu opened this issue Jan 15, 2018 · 0 comments

Comments

@xenu
Copy link

xenu commented Jan 15, 2018

On unix-like platforms, EU::MM and M::B replace shebangs in scripts they install with the absolute path to the current perl interpreter. That ensures that the script will be always executed by the same perl installation.

Batch files generated by pl2bat are always using perl from %PATH% which results in behaviour which is counter-intuitive and inconsistent with unix-like platforms. The fact that %PATH% always contains implicit . makes it even worse.

I think that scripts produced by pl2bat should use hardcoded, absolute path to the perl interpreter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant