[erlang-questions] managing OS processes
Tim Watson
watson.timothy@REDACTED
Sun May 27 15:03:15 CEST 2012
Guys - I think there is code in https://github.com/hawk/lux that
addresses some of these issues.....
On 27 May 2012 12:25, Tim Watson <watson.timothy@REDACTED> wrote:
>
> On 27 May 2012, at 10:44, Gleb Peregud <gleber.p@REDACTED> wrote:
>
>> On Sun, May 27, 2012 at 12:48 AM, Zabrane Mickael <zabrane3@REDACTED> 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
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list