GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — typings: update JSDoc for `cwd` in `child_process` · nodejs/node@b82f05c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • lib
    • child_process.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎lib/child_process.js‎

Copy file name to clipboardExpand all lines: lib/child_process.js
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ let addAbortListener;
103103
* @param {string|URL} modulePath
104104
* @param {string[]} [args]
105105
* @param {{
106-
* cwd?: string;
106+
* cwd?: string | URL;
107107
* detached?: boolean;
108108
* env?: Record<string, string>;
109109
* execPath?: string;
@@ -305,7 +305,7 @@ function normalizeExecFileArgs(file, args, options, callback) {
305305
* @param {string} file
306306
* @param {string[]} [args]
307307
* @param {{
308-
* cwd?: string;
308+
* cwd?: string | URL;
309309
* env?: Record<string, string>;
310310
* encoding?: string;
311311
* timeout?: number;
@@ -733,7 +733,7 @@ function abortChildProcess(child, killSignal, reason) {
733733
* @param {string} file
734734
* @param {string[]} [args]
735735
* @param {{
736-
* cwd?: string;
736+
* cwd?: string | URL;
737737
* env?: Record<string, string>;
738738
* argv0?: string;
739739
* stdio?: Array | string;
@@ -803,7 +803,7 @@ function spawn(file, args, options) {
803803
* @param {string} file
804804
* @param {string[]} [args]
805805
* @param {{
806-
* cwd?: string;
806+
* cwd?: string | URL;
807807
* input?: string | Buffer | TypedArray | DataView;
808808
* argv0?: string;
809809
* stdio?: string | Array;
@@ -897,7 +897,7 @@ function checkExecSyncError(ret, args, cmd) {
897897
* @param {string} file
898898
* @param {string[]} [args]
899899
* @param {{
900-
* cwd?: string;
900+
* cwd?: string | URL;
901901
* input?: string | Buffer | TypedArray | DataView;
902902
* stdio?: string | Array;
903903
* env?: Record<string, string>;
@@ -935,7 +935,7 @@ function execFileSync(file, args, options) {
935935
* Spawns a shell executing the given `command` synchronously.
936936
* @param {string} command
937937
* @param {{
938-
* cwd?: string;
938+
* cwd?: string | URL;
939939
* input?: string | Buffer | TypedArray | DataView;
940940
* stdio?: string | Array;
941941
* env?: Record<string, string>;

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.