topisani/Discurses

Notify-send spam

Closed this issue · 1 comments

On platforms without notify-send (e.g. macOS), "sh: notify-send: command not found" gets spammed within Discurses.

Ge0 commented

Nice catch,

I think it's even dangerous to use os.system this way (I mean, with $PATH tricking).

Moreover, I think this should not be used in a few cases (like when you don't have any X server running...).