MEDIUM child-process-exec Extension spawns subprocesses via child_process
scripts/new_version.js :13
`{file_path}` imports child_process and calls exec / spawn / execFile / fork. Subprocess execution lets the extension pivot from the VSCode host into the user's shell.
// Publishing to vsce and ovsx is it's on thing which I chose not to add here
const cmd = [
`git add .`,
`git commit -m ${version}`,
`git push --follow-tags`
]
cmd.map(
▶ command => execSync(command, { stdio: 'inherit' })
)
Affected versions
marketplace 1.5.1, 1.5.2, 1.5.3
open-vsx 1.5.1, 1.5.2, 1.5.3