[erlang-questions] shell and escript?

Pablo Vieytes <>
Mon Mar 4 15:33:04 CET 2013


Hi,
at first glance shell:start/0 works but then I have had some problems, it
works better with user_drv:start/0.

Thanks.


2013/3/4 Tim Watson <>

> Hi
>
> On 4 Mar 2013, at 14:10, Pablo Vieytes wrote:
> > I added some code to the end of my main function and it works.
> >
> > shell:start(),
> > timer:sleep(infinity).
> >
> > Is there something wrong with that?
> >
>
> I don't know. It might be fine, but using shell:start/0 didn't work for
> me. Then again, I am running a bunch of stuff like common-test and that
> probably complicates matters. If shell:start/0 works for you then great!
>
> Cheers,
> Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130304/c7037462/attachment.html>


More information about the erlang-questions mailing list