-
Notifications
You must be signed in to change notification settings - Fork 928
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
rundeck does not output spaces/tabs properly #600
Comments
hi did you close this because it is not an issue? I have not had a chance to look into it |
I closed it because the description was wrong. For example : if i'll do echo " hi;there " , you will see the job fails. echo "hi; there" will fail. I am assuming this a limitation of the underlying ssh client, and not sure if it can even be attributed to rundeck. One idea a colleague had was to write a wrapper that will "auto escape/quote" the commands before sending them to ssh but I cant see an option to do it. |
what version are you using? In rundeck 1.5.2 we updated the quoting/escaping. You can see how to properly escape things here: http://rundeck.org/docs/manual/job-workflows.html#quoting-arguments-to-steps Note: we also are thinking of tweaking that behavior slightly, so that if your literal command is: |
I am using 1.6.2-1 |
you should be able to double-quote things to have it work as you want. I filed a new issue to improve the behavior here: #602 |
Seems like rundeck does not behave like the shell when it comes to quotes text/spacing.
For example the following will have the same output:
echo " hi there "
echo ' hi there '
would both output : hi there without the leading white space.
The text was updated successfully, but these errors were encountered: