Skip to content

spawn C:\Windows\system32\cmd.exe ENOENT error with childProcess.exec() on Debugger #28271

@atif089

Description

@atif089
- VSCode Version: 1.13.0
- OS Version: Windows 10 Pro v1703 (OS Build 15063.332)

Steps to Reproduce:

  1. Create a new file and run a command using childProcess.exec()
  2. The script runs fine when I run the script through integrated terminal (node myfile.js)
  3. The script fails with an error Error: spawn C:\Windows\system32\cmd.exe ENOENT when running through the debugger.

http://i.imgur.com/YMXIY7l.png

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesinfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions