Problem description
It would be useful to have an API that returns architecture of the host OS. This would be especially useful on Windows where there is no ARM version of ST available so ST runs in x64 mode.
This would be useful for LSP where we want to start a server process in the architecture that matches the OS host and not the plugin host. Currently there doesn't seem to be an easy way to tell what's the host's architecture.
Preferred solution
An API like sublime.os_host_arch()
Alternatives
It's probably doable using ctypes and native Windows APIs.
Additional Information
No response
Problem description
It would be useful to have an API that returns architecture of the host OS. This would be especially useful on Windows where there is no ARM version of ST available so ST runs in x64 mode.
This would be useful for LSP where we want to start a server process in the architecture that matches the OS host and not the plugin host. Currently there doesn't seem to be an easy way to tell what's the host's architecture.
Preferred solution
An API like
sublime.os_host_arch()Alternatives
It's probably doable using ctypes and native Windows APIs.
Additional Information
No response