run cdrec in separate process