I’m sorry, I don’t know Windows that well, but wouldn’t that redirect
stdout
and not stderr? Or maybe it would redirect both, but what I think the OP
wants is to just redirect the errors while still printing the normal
messages
to the screen.
I’m sorry, I don’t know Windows that well, but wouldn’t that redirect stdout
and not stderr?
Correct.
Or maybe it would redirect both, but what I think the OP
wants is to just redirect the errors while still printing the normal messages
to the screen.
He did not mention explicitly which stream he wanted to redirect that’s
why I presented this solution. Of course, you can as well redirect
stderr on Windows.
Kind regards
robert
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.