--000e0cd47ea44be7b7046ed2a332 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit An option would be to run the bash script inside a PTY... but that makes it simply to complex for something that could all be done from within ruby...Have you try calling rdoc straight from ruby instead of bash? 2009/7/15 Tom Cloyd <tomcloyd / comcast.net> > I have little experience with this sort of thing, but it looked fairly > straightforward. I'm in trouble, however. > > Details: > > From /home/tomc/Ruby-work/setnet/bin/ I launch "./setnet". This dir > contains: > mkrdoc.sh setnet > > "./setnet" contains these lines (among others), and works fine: > > manager N::DBManager.new() > manager.startup > > The "SN.rb" module is in "/home/tomc/Ruby-work/setnet/lib/setnet", and > contains a method with this code snippet - > > puts "\n generating new rdocs for SetNet " > system("ls") # to verify where I am in the filesystem > system("./mkrdoc.sh") > if $? ! > puts "*** command failed: status {$?.exitstatus}" > end > > This snippet executes by means of selection from a menu, with this result - > >