-
Notifications
You must be signed in to change notification settings - Fork 606
Fix for #11112: Command line: "brackets" without arguments always opens a new instance of Brackets #524
Conversation
…e existing running instance, if launched from command line without any arguments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What would happen to the unit test windows?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@abose It still works even with the test window open. But that is not related to this PR as this PR just takes of not launching another version of Brackets instance, when launched from command line, but rather use the same version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it! 👍
|
Doesn't mac also behave the same way when launched from the commadline iwth args? |
|
First time trying to build the shell, followed this but |
|
@abose On Mac we use callbacks from apple script to do the command line parsing. Code wise, we do not use |
|
@nethip the errors look like this: I did all the steps exactly as on the guide, except the Linker-step one as the service pack isn't (of course...) compatible with Visual Studio Express 2013. If I switch to target to Debug, this happens: For brevity, here's what |
|
@petetnt Thanks for posting all of the logs. I think we have not tasted the waters with Visual Studio 2013 yet 😄 as we are mostly using 2010. I will try to build this tomorrow in the office and see what I can do fix this issue. |
|
Thanks 👍 I'll see if I can get it to build myself too edit: Tried Community Edition instead of Express (for Desktop) and results were the same |
Fix for #11112: Command line: "brackets" without arguments always opens a new instance of Brackets
Fix for #11112: Command line: "brackets" without arguments always opens a new instance of Brackets

Brackets opens as a new instance, instead of using the existing running instance, if launched from command line without any arguments.