Sometimes you just have to redirect one of the standard streams, for example, if you want to log all output to a file, but don't have any good way of doing that for whatever reason. This technique can also be used to redirect the standard stream and create additional streams for child processes, and so on.