Add a wrapper for the tedious task of reading from multiple file descriptors. 
Simple example:

TextMate::IO.exhaust(:out => stdout, :err => stderr) do |str, type|
  case type
    when :out then STDOUT << str
    when :err then STDERR << str
  end
end

Changed:
A   trunk/Support/lib/io.rb

_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/mailman/listinfo/textmate-dev

Reply via email to