Skip to content


Subversion checkout URL

You can clone with
Download ZIP


shell.echo not as documentation shows? #1

thunder- opened this Issue · 1 comment

2 participants


The following is shown in the documentation:

shell =, { 'MY_ENV' => 'my env' })
shell.echo '${MY_ENV}'
=> 'my env'

This however does not show 'my env', but the ${MY_ENV} as is.

The following does show it as the documentation shows.

shell =, { 'MY_ENV' => 'my env' })
shell.command 'echo ${MY_ENV}'
=> 'my env'

Should 'echo' be defined as a method to make the 'shell.echo' way work, or should the code need an update as it might involve more commands that do not act as they are expected to?

@coffeeaddict coffeeaddict was assigned

The docs are a lie!

What happens in the first case: shell.echo 'x' gets transformed into"echo", "x"). Eg: parameter escaping is enabled.

In the second case, the command is executed as is, without parameter escaping, and functions. I will adapt the docs.

@coffeeaddict coffeeaddict closed this issue from a commit
@coffeeaddict Updated docs & Version bump
- Provided info about stdout/err handler
- Updates README. Fixes #1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.