When you start Sublime via the command-line, ala subl .
it doesn’t set the python cwd to the current directory (the cwd is the sublime text installation), for example from in a plugin:
import os
print('cwd=', os.getcwd())
This is perhaps intentional.
Is there any way for a plugin to know what the cwd is when the user opens Sublime via subl .
?
Trying to resolve this issue: https://github.com/NeoVintageous/NeoVintageous/issues/421