[erlang-questions] Re: Chain two spawned processes
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
2009/10/19 Max Lapshin <max.lapshin@REDACTED>
> 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.
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
More information about the erlang-questions