mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
* process.c (rb_proc_exec): call before_exec() here addition to
rb_exec_err. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c4c79e256b
commit
0ec4ae7c8e
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Jun 9 09:00:58 2012 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* process.c (rb_proc_exec): call before_exec() here addition to
|
||||
rb_exec_err.
|
||||
|
||||
Sat Jun 9 08:30:52 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* thread_pthread.c (ruby_init_stack): use stack info if possible.
|
||||
|
|
|
@ -1174,7 +1174,9 @@ proc_exec_sh(const char *str, VALUE envp_str)
|
|||
int
|
||||
rb_proc_exec(const char *str)
|
||||
{
|
||||
int ret = proc_exec_sh(str, Qfalse);
|
||||
int ret;
|
||||
before_exec();
|
||||
ret = proc_exec_sh(str, Qfalse);
|
||||
preserving_errno(after_exec());
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue