Sample Header Ad - 728x90

How to make sublime_text command return from terminal after the app is opened

0 votes
1 answer
29 views
I try run my Sublime Text 4 in terminal. And I am using MacOS. However, I see after I run the command of sublime_text, it does not return until I manually turn off the Sublime Text. This is my commands: % alias subl="/Users/yaohuazhuo/Desktop/Self\ Installed\ Applications/Sublime\ Text.app/Contents/MacOS/sublime_text -w" % subl 2025-01-30 16:54:33.108 sublime_text[14540:707456] +[IMKClient subclass]: chose IMKClient_Modern So I tried different options, including removing the "-w". And I have even tried the "nohup" from this post: https://superuser.com/questions/178587/how-do-i-detach-a-process-from-terminal-entirely But it still shows "appending output to nohup.out" and the command line is still not returned So how can I make the command return/detach from terminal after the sublime_text is opened?
Asked by Yaohua Zhuo (1 rep)
Jan 31, 2025, 01:07 AM
Last activity: Jan 31, 2025, 02:42 AM