From: Robert Klemme Date: 2008-10-01T00:09:54+09:00 Subject: Re: Real world ruby programs to learn from 2008/9/30 Lex Williams : > Robert Klemme wrote: >> 2008/9/30 Fernando Perez : >>> Your link seems very interesting and cool to learn from and can very >>> very helpful to jump from one language to another. >> >> I had a quick look at >> http://pleac.sourceforge.net/pleac_ruby/processmanagementetc.html and >> I must say this is far from correct or ideal. Issues I have spotted >> on first check: >> >> readme = IO.popen("ls") # does not use block form >> >> $stdout = writeme # must be $stdout.reopen(writeme) >> >> Process.waitpid(pid, 0) # should come after the read loop otherwise >> deadlock may occur >> >> Kind regards >> >> robert > > Robert , pleac is "a work in progress" . Anyone can make contributions > to it . It would be great if you would submit corrections to bugs you > found , if you can spare the time , of course . I know. But time is lacking ATM. :-) robert -- remember.guy do |as, often| as.you_can - without end