Nanoseb / ncTelegram

A ncurse Telegram client developed in Python
GNU General Public License v3.0
312 stars 25 forks source link

Kill all instances of telegram-cli on load. #7

Closed lwilletts closed 8 years ago

lwilletts commented 8 years ago

Just an idea for now at least in early development to ensure the user isn't open a billion telegram-cli's if nctelegram isn't closing it properly.

Nanoseb commented 8 years ago

Something a little more clever that is also quite easy to implement is to check if the port I am using (4588) is available or not (and that makes more sense since telegram-cli can be opened for something else without interfering).

lwilletts commented 8 years ago

+1