mirror of
https://github.com/denoland/deno.git
synced 2025-02-19 03:43:00 -05:00

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
5 lines
73 B
JSON
5 lines
73 B
JSON
{
|
|
"args": "run -A main.mjs",
|
|
"output": "main.out",
|
|
"exitCode": 0
|
|
}
|