use child_process_init() to initialize struct child_process variables