Skip to content

Electron: investigate to use requestSingleInstanceLock() API #97626

Closed as not planned
@bpasero

Description

@bpasero

Currently VSCode is implementing it's own solution for preventing a second instance from starting. Electron provides API to do the same but there are differences: https://github.com/electron/electron/blob/7-1-x/docs/api/app.md#apprequestsingleinstancelock

Things we need:

[1] code --status will print information about the active window in the first instance to the console of the second instance and thus requires access to the workspace, including remote scenarios.

Metadata

Metadata

Labels

*out-of-scopePosted issue is not in scope of VS CodedebtCode quality issueselectronIssues and items related to Electronupstream-issue-linkedThis is an upstream issue that has been reported upstreamworkbench-electronElectron-VS Code issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions