escript, exit code

Bengt Kleberg bengt.kleberg@REDACTED
Mon Sep 6 10:06:56 CEST 2004


greeitns,

has anybody made an escript program return a specific exit code? one 
that is available in the shell afterwards.
i have not seen how to do this in the documentation. for some reason i 
do not have escript installed at work. this makes it difficult to test 
the various possibilities. one of which would be ''erlang:exit( 1 )''.


bengt



More information about the erlang-questions mailing list