if(!CreateProcess(
NULL,//File name of executable
cmdLine,//command line
processA,//Process inherited security
threadA, //Thread inherited security
shareRights,//Rights propagation
creationMask,//various creation flags
enviroment,//Enviroment variable
curDir, //Child's current directory