At times I cannot get EG to do a good job finding the XBMC window and close it as it should. So after a period of time XBMC will hang (I get a black screen) and I must kill the process manually. As you know if you use Win7, it tries to have the app exit gracefully and/or "find a solution" when you use task manager to kill the process.
I'd like to simply kill the process with EG by using a IR command.
Anyone know a simple way to kill the process?
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Kill process in Win7 - anyone done this with EG?
Kill process in Win7 - anyone done this with EG?
Last edited by Livin on Sun Jan 03, 2010 10:16 pm, edited 1 time in total.
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
Re: Kill process in Win7 - anyone done this with EG?
you can use the taskkill command line utitlity
Re: Kill process in Win7 - anyone done this with EG?
any examples/tips on how to have EG try to close the EXE and if it fails, after a period of time - like 60 seconds, have it kill the process?
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
Re: Kill process in Win7 - anyone done this with EG?
have a look into the sendmessagetimeout function to let the application finish and hard kill the process afterwards if it fails.
Re: Kill process in Win7 - anyone done this with EG?
if you just want to kill a process you can use pskill - i use it in win7 (i have EG run a .bat file with severel pskill commands in it)
google can find the utility for you.
br
Brille
google can find the utility for you.
br
Brille
Re: Kill process in Win7 - anyone done this with EG?
Is this a Python function? I could not find any info on it.Bartman wrote:have a look into the sendmessagetimeout function to let the application finish and hard kill the process afterwards if it fails.
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
Re: Kill process in Win7 - anyone done this with EG?
win32gui.SendMessageTimeout is a wrapper for the windows functionLivin wrote:Is this a Python function? I could not find any info on it.Bartman wrote:have a look into the sendmessagetimeout function to let the application finish and hard kill the process afterwards if it fails.