You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(to make it work you need to download spout and start the DEMO/SpoutSender before you execute ultragrid)
.. except when I send the message 'pkill' it doesn't stop the process. It keeps on running in the background. I need to go into the taskmanager to kill it.
My way to handle this is to make first a copy of the uv.exe (to uv_1.exe) and when I want to kill it I search for the PID with the associated exe file ('tasklist /NH /FI imagename eq uv_1.exe') and kill it via (taskkill /PID xxx). This is cumbersome in many ways but kind of works. But I am very unhappy because it is not 100% reliable and the folder, in which uv.exe lies needs to have write access for the current user, which is not guaranteed either.
So I tried to compile the shell script myself to see if I can fix this - for example to get the dwProcessId directly from the shell script so can kill it via TASKKILL /PID xxx.
But I wasn't able to build because of missing libraries. And I didn't find any build instructions on your repo.
Maybe you can get me started here? Or have an idea why this process takes a live of its own in the background?
cheers
martin
The text was updated successfully, but these errors were encountered:
Hi Jeremy
I have here a usecase that gives me some headakes on windows:
I am using your [shell] object to start and stop ultragrid processes (download). This works like a charm...
this example captures a spout stream and displays it inside a window.
(to make it work you need to download spout and start the DEMO/SpoutSender before you execute ultragrid)
.. except when I send the message 'pkill' it doesn't stop the process. It keeps on running in the background. I need to go into the taskmanager to kill it.
My way to handle this is to make first a copy of the uv.exe (to uv_1.exe) and when I want to kill it I search for the PID with the associated exe file ('tasklist /NH /FI imagename eq uv_1.exe') and kill it via (taskkill /PID xxx). This is cumbersome in many ways but kind of works. But I am very unhappy because it is not 100% reliable and the folder, in which uv.exe lies needs to have write access for the current user, which is not guaranteed either.
So I tried to compile the shell script myself to see if I can fix this - for example to get the dwProcessId directly from the shell script so can kill it via
TASKKILL /PID xxx
.But I wasn't able to build because of missing libraries. And I didn't find any build instructions on your repo.
Maybe you can get me started here? Or have an idea why this process takes a live of its own in the background?
cheers
martin
The text was updated successfully, but these errors were encountered: