Skip to content

Database fails to be killed and deleted on Windows with Node 23.x #242

@Sebastian-Webster

Description

@Sebastian-Webster

The following error occurs on Windows with Node 23.x:

```[mysql-memory-server - ERROR]: Error: Command failed: taskkill /pid 5920 /t /f
ERROR: The process "5920" not found.

    at genericNodeError (node:internal/errors:983:15)
    at wrappedFn (node:internal/errors:537:14)
    at ChildProcess.exithandler (node:child_process:414:12)
    at ChildProcess.emit (node:events:507:28)
    at maybeClose (node:internal/child_process:1101:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)
    at Process.callbackTrampoline (node:internal/async_hooks:130:17) {
  code: 128,
  killed: false,
  signal: null,
  cmd: 'taskkill /pid 5920 /t /f'
} | Error toString: Error: Command failed: taskkill /pid 5920 /t /f
ERROR: The process "5920" not found.```

Metadata

Metadata

Labels

WindowsThe issue specifically relates to mysql-memory-server running on Windows platformsbugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions