[erlang-questions] shell and escript?

Tim Watson watson.timothy@REDACTED
Mon Mar 4 15:18:05 CET 2013


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 


More information about the erlang-questions mailing list