require 'rpa/install' class Install_session < RPA::Install::FullInstaller name "session" version "2.3.0-1" classification Library build do installdocs %w[HISTORY README TODO VERSION] installexamples "samples" end install do skip_default RunUnitTests end description <<-EOF Session::* offers a set of classes built upon Open3::popen3 for driving external progams via pipes. It offers a significant abstraction over Open3::popen in that the stdout/stderr of each command sent can be deliniated. Both stderr and stdout can be redirected, and the exit_status of each command is made available: A block form can be used to specify a callback to be invoked whenever output has become availible: Sessions are Thread safe (in the sense that they do not block on io operations) allowing commands spawned from guis to update widgets with output while running in the background. EOF end