public
Description: A process execution library which doesn't suck.
Clone URL: git://github.com/codahale/ropen.git
commit  844c58c26c2ebb4dee520cfae4428eb085825e4f
tree    93dd7f6ee22cc5d642319610687576841b8d827c
parent  0078e9b4519b56938eac9a53c8c2ab71de357ad8
ropen /
README.markdown

Ropen

A process execution library which doesn't suck.

  cmd = Ropen::Command.new("/bin/cat", "/home/coda/my-recipes.txt")
  cmd.on_stdout do |cat, line|
    if line =~ /sugar/
      puts line
    end
    cat.stdin.puts "cat doesn't take input, but imagine if it did..."
  end
  cmd.run