public
Description: A process execution library which doesn't suck.
Clone URL: git://github.com/codahale/ropen.git
codahale (author)
Thu May 15 14:38:04 -0700 2008
commit  0c3f82c6448d804018252b8ef6b996977f9a446d
tree    ddf841d20031d3858c92f269a27d0ac84679b544
parent  4a6af63bf322aec294a84b833ec842730fa008f8
ropen /
README.markdown

Ropen

A process execution library which doesn't suck.

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