Extract child process control code