问题
I'm running IntelliJ on Windows 7 and I'm trying to solve a problem where I can't get Selenium to start. I think it might be related to privileges.
I'm starting IntelliJ with "Run as Administrator". Are the processes that are started by IntelliJ also then given Administrator rights?
回答1:
Yes, all the child processes should inherit the parent privileges.
回答2:
Absolutely yes, in fact it is very difficult for an elevated process to start a process that is not elevated. You would have to use the Windows API, jump through a lot of hoops and it would work only in certain circumstances.
来源:https://stackoverflow.com/questions/7736536/does-intellij-start-processes-with-administrator-rights