mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 01:29:14 -05:00
8994b51771
Add supports for "ipc" and fd options in child_process spawn API. Internal changes: Adds a hidden rid and "ipc_for_internal_use" option to Deno.Command. Used by `node:child_process` Example: ```js const out = fs.openSync("./logfile.txt", 'a') const proc = spawn(process.execPath, ["./main.mjs", "child"], { stdio: ["ipc", out, "inherit"] }); ``` Ref #16753 |
||
---|---|---|
.. | ||
__test__.jsonc | ||
main.mjs | ||
main.out |