Change in spawn call

Fix incorrect call to child process spawn method.