When I start up a function within the erl shell, it works fine. When I try to invoke the same function with 开发者_JAVA百科erl ... -s module function, it fails.