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

User may call wrong Chicken binaries while cenv is active #3

Open
ursetto opened this issue Apr 17, 2021 · 0 comments
Open

User may call wrong Chicken binaries while cenv is active #3

ursetto opened this issue Apr 17, 2021 · 0 comments

Comments

@ursetto
Copy link
Owner

ursetto commented Apr 17, 2021

While an environment is active, the user needs to call Chicken binaries with their renamed names. In Arch Linux, this would be chicken-csi, which is probably as expected.

However, if you renamed csi to csi5 to have a parallel Chicken 4 and 5 installation, calling cexec csi might find your Chicken 4 install. That's because cenv simply updates PATH to find your Chicken binaries. Chicken binaries do know which names to use when calling out to other binaries, so internal calls are not a problem.

The only fix for this would be to standardize the naming and either symlink them into bin/ or alias them, similar to Python. And it makes sense to me to have csi instead of csi5 inside a virtual environment. That could cause unexpected behavior in Arch Linux though, as you might not want a csi command at all.

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