raw: Add run_as_child_process function.