[ruby-core:118940] [Ruby master Bug#20696] `IO.read` ignores `err:` option

23 Aug
2024
23 Aug
'24
11:35 p.m.
Issue #20696 has been reported by nobu (Nobuyoshi Nakada). ---------------------------------------- Bug #20696: `IO.read` ignores `err:` option https://bugs.ruby-lang.org/issues/20696 * Author: nobu (Nobuyoshi Nakada) * Status: Open * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- I expected the following code captures the error message, but `err:` option is ignored. ```shell-session $ ruby -e 'p IO.read("|ruby -e raise", err: %i[child out])' -e:1:in '<main>': unhandled exception "" ``` -- https://bugs.ruby-lang.org/
347
Age (days ago)
347
Last active (days ago)
0 comments
1 participants
participants (1)
-
nobu (Nobuyoshi Nakada)