Answer the question
In order to leave comments, you need to log in
Ruby - how to redirect to standard input / output streams?
Hello! There are STDIN, STDOUT, STDERR streams received from an external application.
stdin, stdout, stderr, wait_thr = Open3.popen3('cmd')
$stderr.reopen stderr
but I get<STDIN> can't change access mode from "r" to "w" (ArgumentError)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question