[erlang-questions] Programmatically starting a remote shell
Tue Feb 23 23:59:45 CET 2010
On Tue, Feb 23, 2010 at 09:44:35PM +0100, Per Melin wrote:
> On Tue, Feb 23, 2010 at 6:18 PM, Andrew Thompson <andrew@REDACTED> wrote:
> > I couldn't even get a fully working local shell out of an escript (I got
> > close but there were still some screwy issues). It'd be nice to either
> > be able to *fully* promote an escript to a shell or to have exec(3)
> > support in escripts so you could launch erl with the options you
> > determine you need.
> Not perfect, but I get something (at first glance) usable with:
> main(_) -> shell:server(false, false).
At the very least, the readline history stuff doesn't seem to work.
Neither does ^G (so no job control). This is about what I ended up with
when I was testing, too.
More information about the erlang-questions