Doesn't look like that works with the -en option. I copied this pattern from https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/shell/dsl.rb#L59