[erlang-questions] Re: Chain two spawned processes

Bengt Kleberg <>
Mon Oct 19 14:35:45 CEST 2009


There is a well thought out design for controlling UNIX processes from
Scheme here: http://www.faqs.org/faqs/unix-faq/shell/scsh-faq/
It is helpful when thinking about this kind of thing.


On Mon, 2009-10-19 at 15:46 +0400, Max Lapshin wrote:
> Yes, it seems, just that Erlang unix layer lacks all these process
> control stuff.
> 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.
> sys.c cannot do this right now.
> Currently I will do exactly as You say: launch shell script. However,
> maybe will be reasonable to make patches to erlang unix/sys.c
> to add more control for process starting and spawning?
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org

More information about the erlang-questions mailing list