From: "Mauricio Fernández" Date: 2004-10-06T17:17:37+09:00 Subject: Re: [ANN] session-2.1.8 On Wed, Oct 06, 2004 at 11:59:52AM +0900, "Pe�a, Botp" wrote: > Ara.T.Howard [mailto:Ara.T.Howard@noaa.gov] wrote: > > > URLS: | > > > > http://raa.ruby-lang.org/project/session/ > > http://www.codeforpeople.com/lib/ruby/session/ > > > > looks great. do you have an rpa for this? batsman@tux-chan:~$ rpa update --no-proxy Getting port info from http://rpa-base.rubyforge.org/ports/ports.info. 100% [========================================] 84280 bytes Ports added since the last 'rpa update' session 2.1.8-1 Library to drive external progams via pipes from Ruby. batsman@tux-chan:~$ rpa install session Installing ports Getting port session from http://rpa-base.rubyforge.org/ports/session_2.1.8-1.rps. 100% [========================================] 11776 bytes Building session (2.1.8-1). Generating RI data files. Generating RDoc HTML documentation. Calculating MD5 digests. Building package in session_2.1.8-1_i686-pc-linux-gnu.rpa. Installing session Reusing cached package /home/batsman/usr/lib/ruby/rpa0.0/packages/session_2.1.8-1_i686-pc-linux-gnu.rpa. Starting lightweight (metadata only) transaction for session Checking for file conflicts in session. Starting transaction for session Package /home/batsman/usr/lib/ruby/rpa0.0/packages/session_2.1.8-1_i686-pc-linux-gnu.rpa unpacked. Finished transaction for session Starting lightweight (metadata only) transaction for session Finished lightweight (metadata only) transaction for session Finished lightweight (metadata only) transaction for session Committed changes batsman@tux-chan:~$ rpa info session Matching installed ports: session 2.1.8-1 Library to drive external progams via pipes from Ruby. batsman@tux-chan:~$ rpa info session -x Matching installed ports: name: session version: 2.1.8-1 classification: Top.Library requires: description: Library to drive external progams via pipes from Ruby. Session::* offers a set of class for driving external progams via pipes. It offers a significant abstraction over Open3::popen since stdout/stderr can be processed individually for each command. Additionally the exit_status of each command is made available. Sessions are Thread safe (in the sense that they do not block on io operations) allowing command spawn from guis to update widgets with output while running in the background. -- Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com