summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-11 10:09:56 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-11 10:09:56 +0000
commit4d78d30daa3535de1019eadde2e1a84d3b66873f (patch)
tree5f78781f8468cf38df5d7f756576e7a97ccfe505 /process.c
parent59e126383cc1a2bbbb7acf16bab904c6cff8a380 (diff)
* process.c: new method Process.exec; backported from 1.9. bug#19006
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/process.c b/process.c
index a3421f57c3..864c8168c0 100644
--- a/process.c
+++ b/process.c
@@ -3573,6 +3573,7 @@ Init_process()
#endif
#endif
+ rb_define_singleton_method(rb_mProcess, "exec", rb_f_exec, -1);
rb_define_singleton_method(rb_mProcess, "fork", rb_f_fork, 0);
rb_define_singleton_method(rb_mProcess, "exit!", rb_f_exit_bang, -1);
rb_define_singleton_method(rb_mProcess, "exit", rb_f_exit, -1); /* in eval.c */