uses child_process.spawn if you pass the function 2 parameters instead of one.