简体   繁体   中英

Hide Python icon from OS X El Capitan dock?

Before OS X El Capitan came out it was easily possible to hide the Python app from the dock when you run a python script. Since El Capitan is out, this is not the case anymore. If I try to edit the Info.plist with root permission it still says that the file is in read-only mode. I even tried to log in as root and then edit it but it doesn't help.

I run a few python scripts via crontab.

Does anyone have a solution for hiding Python? I'd appreciate it.

The problem has to do with different permissions associated with sudo in OS X El Capitan. Some areas are by default non- sudo -able after upgrade due to a feature called "SIP" (System Intregrity Protection). The accepted answer on this question solves the issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM