Browse files

stderr is last element in popen4 returned tuple

  • Loading branch information...
justincase committed Jul 12, 2011
1 parent 625d0e7 commit 6dc495b42446f252b7e1bb26cf9638e9ef3c5544
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/posix/spawn.rb
@@ -285,7 +285,7 @@ def `(cmd)
# the spawning process. Supports the standard spawn interface as described
# in the POSIX::Spawn module documentation.
- # Returns a [pid, stdin, stderr, stdout] tuple, where pid is the new
+ # Returns a [pid, stdin, stdout, stderr] tuple, where pid is the new
# process's pid, stdin is a writeable IO object, and stdout / stderr are
# readable IO objects. The caller should take care to close all IO objects
# when finished and the child process's status must be collected by a call

0 comments on commit 6dc495b

Please sign in to comment.