Skip to content

Commit 9a3697c

Browse files
christopher-busscodex
authored andcommitted
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: DefinitelyTyped/DefinitelyTyped#75525 Signed-off-by: christopher-buss <christopher.buss+github@protonmail.com> Assisted-by: Codex Co-authored-by: Codex <noreply@openai.com> PR-URL: #65887 Reviewed-By: Xuguang Mei <meixuguang@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 7f514d3 commit 9a3697c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

doc/api/child_process.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,8 @@ changes:
561561
is used, it must contain exactly one item with value `'ipc'` or an error
562562
will be thrown. For instance `[0, 1, 2, 'ipc']`.
563563
* `uid` {number} Sets the user identity of the process (see setuid(2)).
564+
* `windowsHide` {boolean} Hide the subprocess console window that would
565+
normally be created on Windows systems. **Default:** `false`.
564566
* `windowsVerbatimArguments` {boolean} No quoting or escaping of arguments is
565567
done on Windows. Ignored on Unix. **Default:** `false`.
566568
* `timeout` {number} In milliseconds the maximum amount of time the process

0 commit comments

Comments
 (0)