diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | process.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Mon May 12 19:05:24 2008 NAKAMURA Usaku <usa@ruby-lang.org> + + * process.c (rb_spawn_internal): remove calling run_exec_options() + because cannot restore after spawn. we'll fix this later. + Mon May 12 18:16:44 2008 NAKAMURA Usaku <usa@ruby-lang.org> * process.c (rb_spawn_internal): need to call run_exec_options() before @@ -2566,9 +2566,11 @@ rb_spawn_internal(int argc, VALUE *argv, int default_close_others) status = rb_fork(&status, rb_exec_atfork, &earg, earg.redirect_fds); if (prog && earg.argc) earg.argv[0] = prog; #else + /* XXXXX: need to call this func, but cannot restore after spawn... if (run_exec_options(&earg) < 0) { return -1; } + */ argc = earg.argc; argv = earg.argv; |