Project

General

Profile

Bug #20696

Updated by nobu (Nobuyoshi Nakada) 3 months ago

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://github.com/ruby/ruby/pull/11446 

Back