Sublime Forum

Sublime Command Line does not work

#1

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>')

0 Likes

#2

Which build of Sublime Text are you using?

0 Likes

#3

Version 3.2.2 Build 3211

0 Likes

#4

Could you check whether Sublime Text is being quarantined? See https://proinsias.github.io/til/Mac-Remove-quarantine-flag-from-app/

0 Likes

#5

That seems to have been the problem. Thank you.

0 Likes

#6

Awesome. We currently have some fixes in the works for SM and ST4 that will make the command line work even while the app is quarantined.

2 Likes