-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pm2 is broken because childprocess.unref() fails #16784
Comments
Note that this is only reproduced when running pm2 for the first time after startup (when it shows |
Possibly related missing implementation: import { createRequire } from "https://deno.land/std@0.165.0/node/module.ts"
const require = createRequire(import.meta.url)
const child_process = require("child_process")
const fs = require("fs")
const pipe = fs.openSync("/tmp/issue.log", 'a')
const child = child_process.spawn("echo", {
stdio : ['ipc', pipe, pipe]
}) |
Unrefing child process is definitely implemented (eg. Vite uses it), but the problem seems to be usage of |
child_process IPC is now implemented. See #21490 |
This issue should be resolved as of Deno v1.39.1. |
When running with:
__proto__
enabled (applied on top of the changes in #16775)__proto__
: chore: bump chalk from 3.0.0 to 4.1.2 Unitech/pm2#5489pm2
seems to fail becausechild.unref()
failed internallyThe text was updated successfully, but these errors were encountered: