From: Jason Creighton Date: 2003-09-16T01:31:26+09:00 Subject: PATCH: open3.rb comments misleading Hello, I found the comments in open3.rb misleading because it uses "in", which is a Ruby keyword, incorrectly, causing the examples to fail to parse. Here is a patch which "fixes" this little "problem", and also adds a note of explaination: --- open3.rb.orig 2002-01-28 23:29:52.000000000 -0700 +++ open3.rb 2003-09-14 20:47:30.000000000 -0600 @@ -1,11 +1,14 @@ +# open3.rb: Spawn a program like popen, but with stderr, too. You might also +# want to use this if you want to bypass the shell. (By passing multiple args, +# with IO#popen does not allow) +# # Usage: # require "open3" # -# in, out, err = Open3.popen3('nroff -man') +# stdin, stdout, stderr = Open3.popen3('nroff -man') # or # include Open3 -# in, out, err = popen3('nroff -man') -# +# stdin, stdout, stderr = popen3('nroff -man') Jason Creighton