-
Notifications
You must be signed in to change notification settings - Fork 38
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
Fixes #11601: Add a variable_string_from_command method #645
Fixes #11601: Add a variable_string_from_command method #645
Conversation
Do not merge for now, some small things to fix. |
d40dd18
to
e27c940
Compare
this looks ok, but it is scary |
Commit modified |
e27c940
to
2b99c52
Compare
Executing commands without the full path failed because execresult though the I move the |
# | ||
# We concatenate the return code as a three char string, and extract it after. | ||
# | ||
# /bin/true is necessary because execresult thinks the $() is an unexpanded variable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you update the doc to explain why the /bin/true is in the ${ } ?
Looks good to me |
Commit modified |
2b99c52
to
e9c84e6
Compare
OK, merging this PR |
https://www.rudder-project.org/redmine/issues/11601