Hacker News new | ask | show | jobs
by d4rky 2402 days ago
Instead of using open you can just run the binary inside Slack.app directory:

SLACK_DEVELOPER_MENU=true /Applications/Slack.app/Contents/MacOS/Slack

2 comments

That's not a great idea. If you don't use open, the app won't show up in the Finder app switcher.
Good point! Thanks for mentioning that.

Small nitpick, though. The dock is what runs the app switcher, not the Finder.

That only works for the Bourne shell. Using `env` is more portable.