WinXP: What permission needed for Process.WaitForExit()?

B

Bert Hyman

XP Pro SP3

I wrote a short C# app to allow my backup to wait for another program to
finish before proceeding. It boils down to basically

using System.Diagnostics;
Process[] av = Process.GetProcessesByName("avscan");
av[0].WaitForExit();

Unfortunately, this appears to require permission even beyond being a
member of the "Power User" group.

So rather than add the user that does backups to the Administrators group,
is there a specific permission that I can add to that user so that it can
use these functions?

I've seen references to "Performance Monitor Users," but that doesn't exist
on my XP Pro SP3 system.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top