Looking at the API , it doesn't look like interleaving (redirecting stdout to stderr in real time, or the other way around) is supported. How would I do it if needed?
What's the source of confusion? You can create a Stdio
object with FromRawFd::from_raw_fd
, giving it a file descriptor to use as Stdio
implements the trait.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.