Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Some common shell utilities
Ruby
tag: v0.1.2

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
Gemfile
README.md
Rakefile
shell_tools.gemspec

README.md

ShellTools

Some common shell utilities.

sh

Execute the command and return the output. The stderr and stdout are merged together into the output. If it exits with a non-zero status, this method will raise an error.

sh_with_code

Execute the command and return the output and status code. The stderr and stdout are merged together into the output

escape

Escapes any number of words and joins them into an escaped string.

Something went wrong with that request. Please try again.