You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
maybe you can direct me to a solution; i don't manage to suppress the printing to STDERR when a remote cmd fails (like date --foobar).
(I'm collecting and further process the output of rye::set / rye::box commands)
I tried last with this rye_opts:
RYE_OPTS = {
:error => false,
:verbose => Logger::FATAL, # this was a try after reading Net::SSH.start docs
:safe => false,
:quiet => true,
:password_prompt => false }
Hi Delano,
maybe you can direct me to a solution; i don't manage to suppress the printing to STDERR when a remote cmd fails (like
date --foobar
).(I'm collecting and further process the output of rye::set / rye::box commands)
I tried last with this rye_opts:
but it always prints the cmd error to $stderr:
The only way that really works is redirect the stderr of my cli program like this
tmt host -h testserver date -- --foo 2>/dev/null
But of course that's not a solution.
Any hint is very much appreciated!
The text was updated successfully, but these errors were encountered: