Running Pycharm as root from launcher

后端 未结 6 2104
小鲜肉
小鲜肉 2021-02-19 07:04

How is it possible to run Pycharm from the launcher with root privileges?

I can do that from the terminal window, with sudo ./pycharm.sh, but I\'d like to d

6条回答
  •  北海茫月
    2021-02-19 07:35

    Here's a sample git repo that is a proof-of-concept for how to do this. Should be as simple as following the instructions in the README.md. My team needed to do this for one of our products and we used that as the workflow.

    Hope this helps! https://github.com/samayer12/sudome

    This answer builds upon the description here that was first pointed out by Ed Jones.

提交回复
热议问题