In the last few weeks, the subl command line tool is not working. I am on a Mac Running 10.15.7. When I run subl -w or subl it shows another sublime application window opening in the dock. I have tried Reinstalling sublime, removing the link to subl in /usr/local/bin and recreating it, but it still does not seem to work.
The console log shows this spinning over and over:
OSStatus _LSLaunch(LSContext *, FSNode *, LSLaunchFlags, void *, CFArrayRef, const AppleEvent *, const AEDescList *, CFArrayRef, CFDictionaryRef, LSBundleID, const audit_token_t *, const _LSOpen2Options *, ProcessSerialNumber *, Boolean *, NSError **): launching '<private>' result=-13052_LSLaunch('<private>')