[erlang-questions] Re: Chain two spawned processes

Robert Virding <>
Mon Oct 19 17:10:38 CEST 2009


Why not just write a port driver to that instead of baking in specifics into
the run-time? Don't put things into the run-time that don't have to be
there.

Robert

2009/10/19 Max Lapshin <>

> On Mon, Oct 19, 2009 at 5:47 PM, Samuel Rivas
> <> 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.
>
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
>
>


More information about the erlang-questions mailing list