Re: Can the STDERR from a process be read?

Steve Pothier (starnet!apple!nemesis.tucson.saic.com!pothiers)
Mon, 8 May 1995 14:16:09 -0600

>
>
> When I do a "read from process CMDLINE until return", I get the data
> that has been written to STDOUT from the program given in CMDLINE. Is
> there any way to read the data that was written to STDERR? I want
> to keep the two streams distinct; no fair merging them.

In 1.4, the engine merges the two streams. Perhaps it should do
something different? We'd have to add some syntax to do this,
however. How about something like:
read from stderr of process CMDLINE until return

Opinions?
Scott

That syntax looks good to me. What about "backwards compatibility"?
Perhaps people would like to explicitly refer to the current behavior,
as in:
read from bothStreams of process CMDLINE until return

So, would we be able to:
open process ...
...
read from stderr of process ...
read from stdout of process ...

(ie. read from either stream independantly)