Project

General

Profile

« Previous | Next » 

Revision 30b8f1ee

Added by akr (Akira Tanaka) over 16 years ago

  • process.c (EXEC_OPTION_DUP2_CHILD): defined.
    (check_exec_redirect_fd): check :in, :out and :err.
    (check_exec_redirect): check [:child, fd].
    (check_exec_fds): validate EXEC_OPTION_DUP2_CHILD array.
    (run_exec_dup2_child): new function.
    (rb_run_exec_options): call run_exec_dup2_child.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e