RavuAlHemio / StartWaitTree

Launches a subprocess and then waits for it and all its descendants to terminate.
Creative Commons Zero v1.0 Universal
1 stars 1 forks source link

StartWaitTree terminates before grandchildren processes are closed #2

Open Dragodraki opened 1 year ago

Dragodraki commented 1 year ago

Sorry for begging again for help.

In the meantime your app was very helpful, but on Windows 11 (maybe Windows 10, I don't know) it does not wait for grandchildren to be closed. Actually waiting for grandchildren is the main feature in StartWaitTree.exe. This is why I would like to ask whether you can fix this somehow?

RavuAlHemio commented 7 months ago

I'm sorry for not having looked into this yet; I currently don't have a Win11 development machine.

Tests on Windows 10 have been successful...

Dragodraki commented 7 months ago

Issue 1: Seems like only some apps are suffering from it, others wait patiently for grandchildren. But I doubt the app to be the cause itself when it works on other systems. Issue 2: If you find the time to debug StartWaitTree a bit more, I'd be happy if you could fix also the other problem that some apps have an appcrash (error: "Application has stopped working") - e.g. with VNTranslator.exe v.7.1 (program is available as freeware). Here its quite the opposite: Only some apps are suffer from it, but on Windows 11 it works fine, on Windows 7 it gives me said error (running them without StartWaitTree works so no compability issue here).

BTW: I am glad your app exists in the first place. There is nothing in comparison so far I can tell. So thanks for it!

Dragodraki commented 6 months ago

Issue 2 has nothing to do with your app directly. [see strikethrough] I am sorry about it. VNTranslator needs the chromium parameter --in-process-gpu to start if using with StartWaitTree and I have to use the dir which contains the main app. So, forget about issue 2 then, please.