2014-10-14, 01:34
Hi,
I'm trying to write a plugn that essentially launches an external command using subprocess popen function. I would like the ability to see if the process is running and kill it if necessary.
I know how to accomplish this if xbmc is running on linux (via kill / ps - grep), but how would you accomplish this such that it would also run on windows? What options do I have.
Thanks.
I'm trying to write a plugn that essentially launches an external command using subprocess popen function. I would like the ability to see if the process is running and kill it if necessary.
I know how to accomplish this if xbmc is running on linux (via kill / ps - grep), but how would you accomplish this such that it would also run on windows? What options do I have.
Thanks.