Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine du Hamel <duhamelantoine1995@gmail.com>2021-12-20 01:40:53 +0300
committerGitHub <noreply@github.com>2021-12-20 01:40:53 +0300
commit81812bad7be7cff772ce38fde9fb27aa75b51ed8 (patch)
treeb75a9a5a992f22f001f045ba893b68b6ef25c81a /doc/api/child_process.md
parent23637e9a3b208892449268290143dad4391fee45 (diff)
child_process: add support for URL to `cp.fork`
PR-URL: https://github.com/nodejs/node/pull/41225 Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/child_process.md')
-rw-r--r--doc/api/child_process.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/api/child_process.md b/doc/api/child_process.md
index 360ece1095e..c457ac8aa34 100644
--- a/doc/api/child_process.md
+++ b/doc/api/child_process.md
@@ -392,6 +392,11 @@ controller.abort();
added: v0.5.0
changes:
- version:
+ - REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/41225
+ description: The `modulePath` parameter can be a WHATWG `URL` object using
+ `file:` protocol.
+ - version:
- v16.4.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/38862
@@ -425,7 +430,7 @@ changes:
description: The `stdio` option is supported now.
-->
-* `modulePath` {string} The module to run in the child.
+* `modulePath` {string|URL} The module to run in the child.
* `args` {string\[]} List of string arguments.
* `options` {Object}
* `cwd` {string|URL} Current working directory of the child process.