Process: spawn(): fix undefined variable