summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-02 08:43:29 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-02 08:43:29 +0000
commit1aa936a89856f3f5e77bfd5f3fe287b7e0f33c92 (patch)
tree147dd01c2e2cb3eae24656dd36ad7a58dc5d0818 /lib
parent61da57c571d34affd563a54702694c6453316253 (diff)
* eval.c (rb_eval_string_wrap): extend new ruby_top_self, not
original self. * eval.c (rb_eval_cmd): respect ruby_wrapper if set. * eval.c (eval): do not update ruby_class unless scope is not provided. * eval.c (eval): preserve wrapper information. * eval.c (proc_invoke): ditto. * eval.c (block_pass): ditto. * parse.y (void_expr): too much warnings for void context (e.g. foo[1] that can be mere Proc call). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/open3.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/open3.rb b/lib/open3.rb
index 0bb744ab68..33701bbfc0 100644
--- a/lib/open3.rb
+++ b/lib/open3.rb
@@ -32,8 +32,7 @@ module Open3
exec(*cmd)
}
- Process.wait
- exit! $?>>8
+ exit!
}
pw[0].close