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

External scripts without #!/bin/bash return empty string in 9000 #3518

Open
mohamedhafez opened this issue Dec 6, 2015 · 0 comments
Open

Comments

@mohamedhafez
Copy link
Contributor

If you have an external script /tmp/echotest

echo TEST

and then in ruby you do

`/tmp/echotest`

you'll get an empty string (on Linux at least). If you add #!/bin/bash to the top of the echotest file it works as expected, returning "TEST\n". In MRI, and back in jruby 1.7, both versions of the file worked fine. Pretty insignificant, but just thought I'd throw it out there:)

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