pgcli
pgcli copied to clipboard
On MacOS, I get an icon in my dock any time I run pgcli
Whenever I start pgcli it seems to start a background python process, that ends up showing up in my dock. It doesn't hurt, it just gets in the way a bit.
something like
import AppKit
info = AppKit.NSBundle.mainBundle().infoDictionary()
info["LSBackgroundOnly"] = "1"
at the right place might do the trick, if AppKit is available, but I am not proficient enough in python to know the details.
pgcli is a Python program, so that makes sense. How are you running it?
I'm starting it from my terminal, and then I assume it starts a background process of some kind, which ends up showing an icon in the dock. Not a big deal, but it might seem confusing to users 🤷