[erlang-questions] Re: Chain two spawned processes

Max Lapshin max.lapshin@REDACTED
Mon Oct 19 15:51:49 CEST 2009


On Mon, Oct 19, 2009 at 5:47 PM, Samuel Rivas
<samuel.rivas@REDACTED> wrote:
>> Look, what I really need is to connect two processes via one pipe so
>> that no data is passed through beam,
>> and grab stderr of second one to controll process of execution.
>
> I guess you also want to do something with the standard output of the
> second process. Otherwise, you just redirect its stderr to stdout (and
> redirect stdout to somewhere else) and you are done :)

In this case I need only stderr of second process. However, I'd prefer
full control after all these children.
open_port API is not far from this.


More information about the erlang-questions mailing list