trailer: use CHILD_PROCESS_INIT in apply_command()