teaminsight/scmd — pull request #3 by kellyredding (2012-10-02 12:04:50+00:00)
Title: run cmds with input on stdin

This change allows you to pass lines of input on stdin to the cmd
being run. Pass the lines as arguments to the `run` commands.

Here's an example of this in practice:

```ruby
input = ["echo hi", "echo err 1>&2"]
cmd = Scmd.new("sh").run(input)
cmd.stdout #=> 'hi'
cmd.stderr #=> 'err'
```