Using node “execSync” func execute “code –uninstall-extension [extension-id]” command in extension host, but got “code: bad option: –uninstall-extension” result, meanwhile executes successfully in vscode terminal or os terminal.
Is there any policy limit the uninstall command in vscode?
I have try to use “spawnSync” replace “execSync”, or use “work_threads” to start a child thread execute the command, but they all failed.
New contributor
ckh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.