[erlang-questions] Getting a password from escript / I/O server introduction

Wes James comptekki@REDACTED
Fri Nov 25 06:31:19 CET 2011

Hi again,

On Wed, Nov 23, 2011 at 1:00 PM, Mikhail Sobolev
<mikhail.sobolev@REDACTED> wrote:
> Hi,
> I'm trying to get a password in my escript.



write bash script:

read -s password
./q $password

where q is something like:

#!/usr/bin/env escript

main([Password]) ->
    io:format(" -> ~p\n", [Password]).


More information about the erlang-questions mailing list