From: Jean-Julien Fleck Date: 2010-08-02T23:25:49+09:00 Subject: Re: IO.popen Hello Roger, > http://ruby-doc.org/core/classes/IO.html#M002242 > >>> IO.popen("gocr", "rw") > ArgumentError: invalid access mode rw When I want to read and write from the IO.popen'ed command, I use IO.popen(cmd, "r+") but I do not remember from which source I found I had to use "r+" rather than the more expected "rw" Cheers, -- JJ Fleck PCSI1 Lycée Kléber