Does IntelliJ start processes with Administrator rights?

旧街凉风 提交于 2020-01-03 07:06:07

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!