Repository navigation
fix(windows): find the host's scheduled task without administrator rights - #539
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
@codex review |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Fixes #537.
On a Windows install without administrator rights,
Win32_Processreturns an emptyExecutablePathfor SYSTEM processes such assvchost.exe.inspectWindowsSupervisorskipped Task Scheduler's svchost by its path only, so it kept that pid, matched theScheduleservice to it and took the service, not theomp-web-hostscheduled task, as the daemon's supervisor. The update then failed withnot_controllable(access denied onSchedule).Name, which is readable for every process.supervisorCandidatePidsdrops service hosts by name as well as by path.Not changed: the WMI launch fallback in the issue's secondary note. The reporter traced that failure to their security product, and
Win32_Process.Createalready reports a non-zeroReturnValue.Summary by CodeRabbit