Expected behavior
No error.
Actual behavior
When starting VSCode with the extension enabled, the following appears in the dev console:
ERR spawn : ENOENT: Error: spawn : ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
at onErrorNT (internal/child_process.js:456:16)
at processTicksAndRejections (internal/process/task_queues.js:77:11)
This is probably happening because onexit
isn't being handled for the child process spawned for the kakoune json-rpc bridge.
Proposed solution
Handle onexit
for child processes.