Then pass that function as first argument to Kernel.spawn/1, you rarely need to actually use the Process.spawn/* functions.
Then pass that function as first argument to Kernel.spawn/1, you rarely need to actually use the Process.spawn/* functions.