From: Lex Williams Date: 2008-09-30T23:32:07+09:00 Subject: Re: Real world ruby programs to learn from 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 . Lex -- Posted via http://www.ruby-forum.com/.