-
-
Notifications
You must be signed in to change notification settings - Fork 164
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
app starts from Terminal but not Finder #220
Comments
Most probably |
From zsh manpage:
Do you use |
I'm 100% sure this is not the problem because the file in I used |
Ok, was just a blind guess. FWIW: Your snippet works fine here on MacOS 10.13 with sh (bash) and zsh from Finder (created from the app, I don't use the command line version), so I cannot reproduce your issue. |
I'll play around and see if I can make a reproducible test case. |
This took me a long time to figure out, so I'm filing this so others know about it.
The
script
that I've used for a long time has always had this near the top:Turns out, if I include those, the app starts fine from Terminal but not from Finder. It used to work starting from Finder, but at some point in the last few months it just stopped working. I'm using
/bin/zsh
as the SHELL, but I believe it fails with/bin/bash
, too.I suspect this is due to security issues in macOS, but I have no idea.
The text was updated successfully, but these errors were encountered: