Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On MacOS, I get an icon in my dock any time I run pgcli #1496

Open
omega opened this issue Mar 12, 2025 · 2 comments
Open

On MacOS, I get an icon in my dock any time I run pgcli #1496

omega opened this issue Mar 12, 2025 · 2 comments

Comments

@omega
Copy link

omega commented Mar 12, 2025

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.

Image

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.

@j-bennet
Copy link
Contributor

pgcli is a Python program, so that makes sense. How are you running it?

@omega
Copy link
Author

omega commented Mar 24, 2025

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 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants