configure warning stream to be different from error stream

7 views
Skip to first unread message

JQN

unread,
Sep 6, 2017, 3:43:11 AM9/6/17
to rspec

Myron Marston

unread,
Sep 6, 2017, 12:06:56 PM9/6/17
to rs...@googlegroups.com
RSpec does not provide a way to do this.  Ruby controls its warnings, and controls where it goes.  You can redirect $stderr to a file or other IO using `$stderr.reopen(file_or_io)`.

HTH,
Myron

On Wed, Sep 6, 2017 at 12:43 AM, JQN <qns....@gmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rspec+unsubscribe@googlegroups.com.
To post to this group, send email to rs...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/2c531e38-0a04-4965-be5c-329dc3d0270c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages