summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-29 08:32:54 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-29 08:32:54 +0000
commitf00ea57ce1fe0bfe137d76703b1bdc4d2293c781 (patch)
tree116f8145de8f318a2f85c849b11a3c38f00c576b /lib
parent56553684679e8160f7fdfaad746fd4b881b8ff3d (diff)
* lex.c (rb_reserved_word): lex_state after tRESCUE should be
EXPR_MID. * gc.c (add_heap): allocation size of the heap unit is doubled for each allocation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/open3.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/open3.rb b/lib/open3.rb
index 33701bbfc0..0bb744ab68 100644
--- a/lib/open3.rb
+++ b/lib/open3.rb
@@ -32,7 +32,8 @@ module Open3
exec(*cmd)
}
- exit!
+ Process.wait
+ exit! $?>>8
}
pw[0].close