Michele Simionato <mi***************@gmail.com> wrote:
Is there a way to send a SIGINT/KeyboardInterrupt to a
Python process (knowing the pid) that works both on Unix and Windows?
No. Windows doesn't support the sending of signals between processes
(with the exception of an equivalent of SIGKILL). I guess this explains
why server processes running on Windows need to be shutdown and
restarted (at least) if you change their configuration -- there's no
(convenient or standardised) way of doing the equivalent of SIGHUP.
--
\S --
si***@chiark.greenend.org.uk --
http://www.chaos.org.uk/~sion/
___ | "Frankly I have no feelings towards penguins one way or the other"
\X/ | -- Arthur C. Clarke
her nu becomež se bera eadward ofdun hlęddre heafdes bęce bump bump bump