diff options
Diffstat (limited to 'lib/open3.rb')
-rw-r--r-- | lib/open3.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/open3.rb b/lib/open3.rb index e8ba2783da..9e34acffc9 100644 --- a/lib/open3.rb +++ b/lib/open3.rb @@ -10,9 +10,9 @@ module Open3 #[stdin, stdout, stderr] = popen3(command); def popen3(cmd) - pw = pipe # pipe[0] for read, pipe[1] for write - pr = pipe - pe = pipe + pw = IO::pipe # pipe[0] for read, pipe[1] for write + pr = IO::pipe + pe = IO::pipe pid = fork if pid == nil then # child |