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

[MacOS] Opening file from command line fails #609

Open
pbalint opened this issue May 6, 2024 · 0 comments
Open

[MacOS] Opening file from command line fails #609

pbalint opened this issue May 6, 2024 · 0 comments

Comments

@pbalint
Copy link

pbalint commented May 6, 2024

On Windows and Linux, you can start Eclipse via:
eclipse(.exe) fileToBeOpened.txt
to start Eclipse and automatically open a file, or open it in an existing instance and give focus.

On MacOS, this does not work (tested on MacOS 14 (Sonoma) and MacOS 12 (Monterey)):
-When no instance is running, Eclipse starts but no file is opened
-When an existing instance is running, executing the command tries to start another instance and then complaining about the workspace being in use...

To test, go to Eclipse.app/Contents/MacOS
and run the command (for example):
./eclipse ../Eclipse/eclipse.ini

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

1 participant