Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

olliea95

macrumors regular
Original poster
Feb 10, 2009
102
0
Surrey, UK
I can run this script to open a Finder windows with root privileges but when I close it, the Finder icon on my Dock displays Finder as being closed, yet I know it is open because I can open new Finder windows, and the Desktop works.

Does anyone have any suggestions to change my script so that it displays the Dock icon correctly. Preferably without adding 'killall Dock', as I hate to keep closing my Dock. But to add, killing the Dock seems to correct this problem, until I open a new Root Finder, using the script.

Script:
Code:
sudo /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.