I am wondering why one cannot portably redirect stdout and/or stderr to file using
std::process::Command? In fact, so far as I know there is no safe way to redirect stdout even on posix systems.
Is there some fundamental reason for this? Or is this just something that has yet to be written in the std library?
I find this rather puzzling, as it seems like a feature that is rather simpler to implement than Piped, which is supported, and pretty fundamental as well.