public
Description: A process execution library which doesn't suck.
Clone URL: git://github.com/codahale/ropen.git
commit  b9cf17cbe743489ab9f1402083310a6e3290dcb9
tree    36afa3005af7d48d5f781b831a0b411d1fdf3577
parent  faa2fbe304a570c604041b55fc2d9fd82d8ab8cf
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