Skip to content

Instantly share code, notes, and snippets.

@maestrow
Created April 13, 2020 14:21
Show Gist options
  • Save maestrow/a97e227072620b26026e25cce3f508c3 to your computer and use it in GitHub Desktop.
Save maestrow/a97e227072620b26026e25cce3f508c3 to your computer and use it in GitHub Desktop.
vscode automatically opens cli.js

VSCode automatically opens cli.js

This problem will occur in two cases:

  1. when vscode is not started, vscode will automatically start and open the cli.js file
  2. when I use vscode normally, a new window will automatically open with the content of the cli.js file

Same situation is described in the following guthub issues:

Unfortunetally, Microsoft closes theese issues and I cannot answer them there, so I'll describe my case here.

  1. If we'll search for "code" processes with process hacker and find process, that has cli.js in their command line arguments, then we'll saw this one: "C:\Users\Andrew\AppData\Local\Programs\Microsoft VS Code\Code.exe" "C:\Users\Andrew\AppData\Local\Programs\Microsoft VS Code\bin\..\resources\app\out\cli.js" --list-extensions
  2. Then look at the parent process (process properties, general tab) - this is cmd, go to parent
  3. cmd has its parent - kited.exe

So we figured out problem source - this is https://kite.com/ service. If you stop this service, then the issue will stop appearing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment