diff --git a/ChangeLog b/ChangeLog index 6315a4b037..5d93bfd7fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon May 12 19:05:24 2008 NAKAMURA Usaku + + * 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 * process.c (rb_spawn_internal): need to call run_exec_options() before diff --git a/process.c b/process.c index bdba37b3ab..a82baa24e1 100644 --- a/process.c +++ b/process.c @@ -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;