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

Prevent multiple instances #5

Open
soapdog opened this issue Jul 10, 2018 · 2 comments
Open

Prevent multiple instances #5

soapdog opened this issue Jul 10, 2018 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed pinned

Comments

@soapdog
Copy link
Contributor

soapdog commented Jul 10, 2018

Objective

We need to figure out a way for scuttle shell to know that another instance is running and thus prevent launching multiple copies.

Why

In the near future, multiple apps might want to start scuttle shell to provide sbot features for them. We need this to prevent race conditions between multiple apps trying to launch the same systray application.

Desired outcome

If scuttle shell is running and another app tries to launch it again, it simply quits without error and informs the app that the application was already running.


Notice for add-on usage

The host_app.js native app will need to be changed to accommodate this. Right now it tries to start its own scuttle shell and has no way of attaching itself to an already running sbot.

@soapdog soapdog added help wanted Extra attention is needed good first issue Good for newcomers labels Jul 10, 2018
@stale
Copy link

stale bot commented Nov 1, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 1, 2018
@stale stale bot closed this as completed Nov 9, 2018
@cryptix cryptix reopened this Nov 13, 2018
@stale stale bot removed the stale label Nov 13, 2018
@christianbundy christianbundy added the enhancement New feature or request label Nov 13, 2018
@stale
Copy link

stale bot commented Feb 11, 2019

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

@stale stale bot added the stale label Feb 11, 2019
@stale stale bot removed the stale label Feb 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed pinned
Projects
None yet
Development

No branches or pull requests

3 participants