Actions
Bug #20696
open`IO.read` ignores `err:` option
Description
I expected the following code captures the error message, but err:
option is ignored.
$ ruby -e 'p IO.read("|ruby -e raise", err: %i[child out])'
-e:1:in '<main>': unhandled exception
""
https://github.com/ruby/ruby/pull/11446
Actions
Like0
Like0