From the code, I understand that the folder you point to with WaitAndForkCmdLinePath needs to contain files named after the children IDs (so 1, 2, 3 and so forth) with the command line laid out in those (without the executable name, so start with the first -param you want to pass).