refine code, communicate with parent process success

refine code, communicate with parent process success