[erlang-questions] replacing 'user' process

3 views
Skip to first unread message

Vlad Dumitrescu

unread,
Apr 15, 2009, 4:52:37 PM4/15/09
to erlang-questions
Hi!

I need to install my own 'user' server to handle the io. Opening a
remote shell is not good enough, because some applications write
directly to user and that output is lost. The user module is hardcoded
in the kernel application startup, so I guess it's not as simple as
killing the original and registering my own. Can it be done at all?
Maybe -noshell and -detached could help?

best regards,
Vlad
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions

Fredrik Svahn

unread,
Apr 15, 2009, 5:31:58 PM4/15/09
to Vlad Dumitrescu, erlang-questions
erlc myuser.erl
erl -user myuser

undocumented and probably unsupported?

BR /Fredrik

Vlad Dumitrescu

unread,
Apr 16, 2009, 3:13:34 AM4/16/09
to Fredrik Svahn, erlang-questions
On Wed, Apr 15, 2009 at 23:31, Fredrik Svahn <fredri...@gmail.com> wrote:
> erlc myuser.erl
> erl -user myuser

I'll try that, thanks a lot!

> undocumented and probably unsupported?

I can live with that :-)

regards,
Vlad

> BR /Fredrik
>
> On Wed, Apr 15, 2009 at 10:52 PM, Vlad Dumitrescu <vlad...@gmail.com>
> wrote:
>> I need to install my own 'user' server to handle the io.

Reply all
Reply to author
Forward
0 new messages