summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/io.c b/io.c
index 2f09957470..19a0c9d426 100644
--- a/io.c
+++ b/io.c
@@ -9848,6 +9848,9 @@ seek_before_access(VALUE argp)
* +length+ bytes (defaulting to the rest of the file). <code>read</code>
* ensures the file is closed before returning.
*
+ * If +name+ starts with a pipe character (<code>"|"</code>), a subprocess is
+ * created in the same way as Kernel#open, and its output is returned.
+ *
* === Options
*
* The options hash accepts the following keys: