Skip to content

IDE fails to open: spawn C:\WINDOWS\system32\cmd.exe ENOENT #2073

Closed
@theopenhighway

Description

@theopenhighway

Describe the problem

I have installed Arduino 2.0 around April 2023 on an Asus laptop (with Windows) and been using it on a regular basis. However, today I encountered a problem where the IDE stuck in the loading page, as shown in this figure below. Never done any modifications on the software itself. Tried to reinstall the program but the problem still occurs. Have looked through similar problems with this but no documented issue on version 2.1.0, as far as I am aware of.

image

To reproduce

I just clicked on the exe file and it happened. So I don't know what would be needed to reproduce it.

Expected behavior

Arduino IDE running normally (directly showing IDE after it loads)

Arduino IDE version

2.1.0

Operating system

Windows

Operating system version

11 ver 22H2

Additional context

I have included additional information that may help to identify the problem. Basically went to an endless loop of error codes.
Windows PowerShell.txt

2023-05-23T17:50:11.112Z daemon ERROR Error: spawn C:\WINDOWS\system32\cmd.exe ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
    at onErrorNT (node:internal/child_process:480:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions