[erlang-questions] Read from input without echo

Rickard Cardell <>
Mon Apr 19 13:36:52 CEST 2010


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


2010/4/16 Damu R <>

> 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