diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-12 10:07:00 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-12 10:07:00 +0000 |
| commit | 124acaf674565adb8c16b149666dc71f1114602a (patch) | |
| tree | a966a6774a8a26177a6d55e2075421e9863c79be /process.c | |
| parent | 3d1e1999ac93fc3e3ca946edd8bf1c44d8f61524 (diff) | |
| download | ruby-124acaf674565adb8c16b149666dc71f1114602a.tar.gz ruby-124acaf674565adb8c16b149666dc71f1114602a.tar.xz ruby-124acaf674565adb8c16b149666dc71f1114602a.zip | |
* process.c (rb_spawn_internal): remove calling run_exec_options()
because cannot restore after spawn. we'll fix this later.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
| -rw-r--r-- | process.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |
