Kodi Community Forum
Kill script process by id ? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Kill script process by id ? (/showthread.php?tid=326862)



Kill script process by id ? - jose383 - 2018-01-10

I have an script and y can launch more than once. When script launch, this enter in loop.
I need kill script.
I use signals python but all process launch in kodi.sh, so that all script that I launch have the same PID and when I execute os.kill(PID,9) kodi reboot.
I need an equivalent method that works in kodi.


RE: Kill script process by id ? - DarrenHill - 2018-01-10

Thread moved to addon development