https://bugs.winehq.org/show_bug.cgi?id=55439
--- Comment #15 from Rafał Mużyło galtgendo@o2.pl --- I'd say it's more like ruby throws an (interpreter) exception when it can't open stdout and those few extra engine bits intercept it and print it (well, a formatted part of it) in the popup.