more work on cRunProcess.c: not tested yet