[erlang-questions] Erlang shell, process dictionary & rand:seed

nato nbartley@REDACTED
Wed Jan 11 23:30:56 CET 2017

In the Erlang shell, I noticed that `rand:seed/n` set my
shell process dictionary value with the seed
(looked at it with `process_info(self())`).

When I crashed my shell process with `1 / 0`, my new
shell process inherited the old process's process dictionary
value (those seed integers).

Is this expected? Is this just an aid for just the shell? And if not,
what can I expect for non-shell processes with the above

More information about the erlang-questions mailing list