no badarg thrown by spawned process - quiet ext

Vance Shipley vances@REDACTED
Fri Apr 19 15:43:08 CEST 2002

On Fri, 19 Apr 2002, Sameer Pendse wrote:
>in a spawned process, if i do a io:format("...~w",L) where L is
>a list, then my spawned process exits without a badarg error. if
>i put the L in a [L], it works fine. if i do the badop in a
>top-level process, i do get the badarg error.

Since the secord argument to io:format/2 is supposed to be a list
if you pass it a list as you say the behaviour will depend on what
is in that list.  It may even work:

9> L = [foo].
10> io:format("...~w~n", L).

I tried a couple things and they all gave me a badarg.
What is in your list?


Vance Shipley
Motivity Telecom Inc.
+1 519 579 5816

More information about the erlang-questions mailing list