[erlang-questions] Read from input without echo

Rickard Cardell rickard.cardell@REDACTED
Mon Apr 19 13:36:52 CEST 2010


Hello

I have limited knowledge of escript but have you tried io:get_password/0 ?

//Rickard


2010/4/16 Damu R <damu.devnull@REDACTED>

> Hi,
> I am trying to read password from the terminal input.I am unable to find a
> way to read input from the terminal without echoing. I am able to do it
> from
> the erlang shell, but it is not happening in a standalone script (escript).
> Looks like the erlang shell uses a different group leader process for i/o.
> Is there a way to read password from a escript?
>
> Thank you
> Damu
>


More information about the erlang-questions mailing list