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

switch ShellLauncher to use getAbsolutePath #4820

Closed
wants to merge 1 commit into from

Conversation

zendes
Copy link

@zendes zendes commented Oct 18, 2017

I ran into some issues with using JRuby on a system that uses busybox as it's userland, and without this patch things won't work.

For a bit of background: busybox's goal is to be a tiny userland (commands like ls and mv) for space-constrained devices. One of the ways it does this is by being a multi-call binary. You symlink it with names such as ls and cp, and it uses $0 to determine how it's called and thus what it should do. JRuby resolves the symlink before it execs, so busybox loses $0 and thus doesn't know what the user originally called. This patch fixes that.

@zendes
Copy link
Author

zendes commented Oct 18, 2017

looks like i have some work to do. let me look into that and i'll reopen it when i fix the errors

@zendes zendes closed this Oct 18, 2017
@enebo enebo added this to the Invalid or Duplicate milestone Nov 8, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants