From 107ac204641beb9c14dbb964fa8cc3aa93316007 Mon Sep 17 00:00:00 2001 From: christopher-buss Date: Mon, 7 Sep 2026 20:51:41 +0100 Subject: [PATCH] doc: document windowsHide for child_process.fork Describe the existing windowsHide option and its false default alongside the other fork options, using the wording already documented for spawn. Refs: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/75525 Signed-off-by: christopher-buss Assisted-by: Codex Co-authored-by: Codex --- doc/api/child_process.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 138fb52f8612..ef68eaf65a49 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -561,6 +561,8 @@ changes: is used, it must contain exactly one item with value `'ipc'` or an error will be thrown. For instance `[0, 1, 2, 'ipc']`. * `uid` {number} Sets the user identity of the process (see setuid(2)). + * `windowsHide` {boolean} Hide the subprocess console window that would + normally be created on Windows systems. **Default:** `false`. * `windowsVerbatimArguments` {boolean} No quoting or escaping of arguments is done on Windows. Ignored on Unix. **Default:** `false`. * `timeout` {number} In milliseconds the maximum amount of time the process