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
""
Actions
Like0
Like0