Skip to content

I get Error: spawn wmic ENOENT. Is it possible that I have not defined the cwd: 'path to target location', #19

@mut9bu

Description

@mut9bu

Hello, I have written excactly your example code. If I execute it, I get:

Application has thrown an uncaught exception and is terminated:
Error: spawn wmic ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)

Is it possible that i have not defined cwd? I ddin't get what to write here excactly. Which path should I write here?
cwd: 'path to target location',

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions