function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Navinkumar SethiyaNavinkumar Sethiya 

The terminal process failed to launch: A native exception occurred during launch (Cannot create process, error code: 267).

Hello Team,

I have visual studio code installed, Salesforce CLI and Java JDK is installed. All path and Java_Home is also configured but while launching terminal and getting an error-The terminal process failed to launch: A native exception occurred during launch (Cannot create process, error code: 267).

Also while authorizing an org getting the error-17:06:38.524 sfdx force:auth:web:login --setalias DummyOrg --instanceurl https://login.salesforce.com --setdefaultusername ended with error spawn C:\Windows\system32\cmd.exe ENOENT

Request you to please help me to solve this problem
ShirishaShirisha (Salesforce Developers) 
Hi Navin,

Greetings!

I would suggest you to refer the below thread to change the xml format:

​​​​​​https://stackoverflow.com/questions/63279109/vs-code-unable-to-start-terminal-process-createprocess-failed

Please mark it as best answer if it helps you to fix the issue.

Thank you!

Regards,
Shirisha Pathuri