Sublime Forum

Find out path to Sublime executable

#1

Is it possible to find the path where ST3 is launched from? I mean the path where the Sublime binary is. On startup, my Sublime shows in the console:

executable: /C/programs/sublimetext_3_dev/sublime_text.exe

I want to find that path in my plugin, but it should also work on Linux.

0 Likes

#2

sublime.executable_path()

1 Like

#3

THX, didn’t find that in the doc :slight_smile: :slightly_smiling:
This forum is awesome :blush::+1:

0 Likes

#4

Some commands are just not mentioned in the doc. Maybe have a look at sublime.py and sublime_plugin.py.

1 Like