public
Description: A process execution library which doesn't suck.
Clone URL: git://github.com/codahale/ropen.git
Search Repo:
todos and documentation for Ropen.
codahale (author)
Thu May 15 14:38:04 -0700 2008
commit  0c3f82c6448d804018252b8ef6b996977f9a446d
tree    ddf841d20031d3858c92f269a27d0ac84679b544
parent  4a6af63bf322aec294a84b833ec842730fa008f8
...
1
2
 
3
 
4
 
5
6
...
 
 
1
2
3
4
5
6
7
0
@@ -1,7 +1,8 @@
0
-# TODO: document me
0
-
0
+# The Ropen namespace. All the excitement is in <tt>Ropen::Command</tt>.
0
 module Ropen
0
+ # An exception raised when the executable is not a valid executable.
0
   class InvalidExecutableError < StandardError; end
0
+ # An exception raised when the execution takes too long.
0
   class TimeoutError < StandardError; end
0
 end
...
4
5
6
 
7
8
9
...
4
5
6
7
8
9
10
0
@@ -4,6 +4,7 @@
0
 require "ropen/spool"
0
 
0
 # TODO: document me
0
+# TODO: add timeouts for processes stalling for lack of stdin
0
 
0
 class Ropen::Command
0
   attr_reader :executable, :arguments, :exit_status
...
1
2
3
4
5
6
7
...
1
2
3
 
4
5
6
0
@@ -1,7 +1,6 @@
0
 require "ropen"
0
 
0
 # TODO: document me
0
-# TODO: add writing (e.g., cmd.stdin.puts)
0
 
0
 class Ropen::Pipe
0
   attr_reader :reader, :writer

Comments

    No one has commented yet.