mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
3735a1a542
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
Text
5 lines
73 B
Text
{
|
|
"args": "run -A main.mjs",
|
|
"output": "main.out",
|
|
"exitCode": 0
|
|
}
|