rahiel / telegram-send

Send messages and files over Telegram from the command-line.
https://www.rahielkasim.com/telegram-send/
GNU General Public License v3.0
938 stars 105 forks source link

Running telegram-send from a Windows Service #84

Closed mad-ady closed 3 years ago

mad-ady commented 3 years ago

Hello! I have a python project that runs as a Windows service (via nssm - https://nssm.cc/). I've checked and it runs under the SYSTEM user. I've set up telegram-send from a terminal running as Administrator, and was able to configure it and test it, but when my service starts, I get the output of Please run: telegram-send --configure.

I'm trying to figure out how to do that under the SYSTEM user... Clearly, it's a Windows issue, but it may be relevant for other telegram-send users as well...

mad-ady commented 3 years ago

Here's what I did, for reference: