It's more nuanced and the official deprecation status doesn't mean much. sandbox-exec has been deprecated since 2016, but obviously Apple can't afford to break it (Chrome and basically all sandboxing solutions rely on it).