[Bug:trunk] wrong error message from spawn with env

e$B$J$+$@$G$9!#e(B

system({“FOO”=>“BAR”}, “non/existing/command”) e$B$NNc30$,$*$+$7$Je(B
messagee$B$K$J$C$F$$$^$9!#@hF,$Ne(Benve$B$,e(BT_HASHe$B$J$N$K$=$N$^$^e(B
RSTRING_PTRe$B$r;H$C$F$$$k$?$a$G$9!#e(B

e$B%A%1%C%He(B #3334 e$B$,99?7$5$l$^$7$?!#e(B (by Nobuyoshi N.)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

This issue was solved with changeset r27985.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


http://redmine.ruby-lang.org/issues/show/3334