[erlang-questions] managing OS processes

Tim Watson <>
Sun May 27 13:25:48 CEST 2012


On 27 May 2012, at 10:44, Gleb Peregud <> wrote:

> On Sun, May 27, 2012 at 12:48 AM, Zabrane Mickael <> wrote:
>> Quick look to "erlexec" code shows that's only support Linux for now (with dependency on libpcap).
>> Any revival work should extend "erlexec" to all other OSes when Erlang is expected to run (ex. Windows, OSX, FreeBSD ...) and try to minimize external dependencies.
>> 
>> +1
>> 
>> I would be willing to help for a complete rewrite of "erlexec" (as Tim, I'm more C than a C++ guy).
> 
> Yes. In a long run improving open_port would be much better.
> 
> The questions are - how to make it cross platform? Would OTP team
> accept such patches? Would OTP team accept not fully cross platform
> patch?
> 
> Features which I feel are missing from oper_port:
> - receiving stderr and stdout separately
> - sending POSIX signals
> - setting startup ENV

You can do this with open port already.

> - setting startup working directory

You can do this with open port already.

> - setting OS process priority
> - monitoring of ports

Yes the messages between the port and the controlling process could be richer and more robust.

> 
> Anything else?
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list