Spawn a process and calculate something in it.