summaryrefslogtreecommitdiff
path: root/lib/open3.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-16 17:37:34 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-16 17:37:34 +0000
commit12196ee24fce0e601106036e67526819cac07291 (patch)
treeae07656a3a4947347acbd875a9496430fecb6c77 /lib/open3.rb
parenta59f05a4559ac7634bf3c8f469af69ba18070751 (diff)
* regex.c (re_compile_pattern): should not translate character
class range edge. [ruby-list:38393] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/open3.rb')
-rw-r--r--lib/open3.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/open3.rb b/lib/open3.rb
index a6e6c5d62b..569c8968b4 100644
--- a/lib/open3.rb
+++ b/lib/open3.rb
@@ -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')
module Open3
#[stdin, stdout, stderr] = popen3(command);