Sublime Forum

How to run remote commands?


Hello. I am developing some program that helps people code by voice.

I have a separate client program that recognize speech. I want to somehow connect Sublime Plugin and this program by multiprocessing to send some text and commands from client to Sublime Plugin (server).

For instance:
Person say “call print function”. Client converts this to “print()” and send this string to plugin. And plugin should only type in this text.

How I should do this? Are there any examples or similar projects?

I will be very grateful for any advice, thank you.