forked from microsoft/vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: use better approach to Windows services (microsoft#172679)
Fixes microsoft#167741 This eschews the offical Windows service system in favor of registering into `HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run`. Unlike services, this can be done without administrative permissions, does not require the current username/password, and is not blocked by miscellaneous and mysterious system policies. Since the process is basically unmanaged by the OS, this requires a little legwork to start and stop the process when registering and unregistering.
- Loading branch information
1 parent
2b48ecd
commit b5aa3e0
Showing
6 changed files
with
74 additions
and
298 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.