Message6716

Author malte
Recipients jendrik, malte, silvan
Date 2017-12-05.10:44:15
Content
> From within the driver, that would mean to know where the stdout/stderr is
> written. Do we have that information in the driver?

This is not how redirection works. The driver doesn't need to know which kinds
of redirections its callers perform; it can just do its thing (e.g. filter the
stderr channel of what it calls) directly.

From each process's perspective, it has a stdin stream, a stdout stream and a
stderr stream, and it doesn't have to care what kind of streams they are or what
sort of redirections and processing are performed by its calling process. This
is encapsulated. Jendrik is right: the clean way is always to do the processing
as locally as possible.
History
Date User Action Args
2017-12-05 10:44:15maltesetmessageid: <1512467055.09.0.814403186999.issue739@unibas.ch>
2017-12-05 10:44:15maltesetrecipients: + malte, jendrik, silvan
2017-12-05 10:44:15maltelinkissue739 messages
2017-12-05 10:44:15maltecreate