UACHelper icon indicating copy to clipboard operation
UACHelper copied to clipboard

StartLimitedTask will duplicate the instances

Open Hax1337 opened this issue 4 years ago • 1 comments

Using the function above I ran into the issue that a non elevated task would start a duplicate instance.

Im assuming the issue is that withing the method as it first starts a process and then also starts another task:

image

By removing the code marked as (1) the issue was resolved.

Hax1337 avatar Nov 14 '21 08:11 Hax1337

Or adding a "return" after the Process starts does also the job :)

Hax1337 avatar Nov 14 '21 08:11 Hax1337