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 — doc: clarify subprocess.stdout/in/err/io properties · nodejs/node@c1ea23c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • child_process.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/child_process.md‎

Copy file name to clipboardExpand all lines: doc/api/child_process.md
+12Lines changed: 12 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1498,6 +1498,9 @@ then this will be `null`.
14981498
`subprocess.stderr` is an alias for `subprocess.stdio[2]`. Both properties will
14991499
refer to the same value.
15001500

1501+
The `subprocess.stderr` property can be `null` if the child process could
1502+
not be successfully spawned.
1503+
15011504
### `subprocess.stdin`
15021505
<!-- YAML
15031506
added: v0.1.90
@@ -1516,6 +1519,9 @@ then this will be `null`.
15161519
`subprocess.stdin` is an alias for `subprocess.stdio[0]`. Both properties will
15171520
refer to the same value.
15181521

1522+
The `subprocess.stdin` property can be `undefined` if the child process could
1523+
not be successfully spawned.
1524+
15191525
### `subprocess.stdio`
15201526
<!-- YAML
15211527
added: v0.7.10
@@ -1556,6 +1562,9 @@ assert.strictEqual(subprocess.stdio[2], null);
15561562
assert.strictEqual(subprocess.stdio[2], subprocess.stderr);
15571563
```
15581564

1565+
The `subprocess.stdio` property can be `undefined` if the child process could
1566+
not be successfully spawned.
1567+
15591568
### `subprocess.stdout`
15601569
<!-- YAML
15611570
added: v0.1.90
@@ -1581,6 +1590,9 @@ subprocess.stdout.on('data', (data) => {
15811590
});
15821591
```
15831592

1593+
The `subprocess.stdout` property can be `null` if the child process could
1594+
not be successfully spawned.
1595+
15841596
### `subprocess.unref()`
15851597
<!-- YAML
15861598
added: v0.7.10

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.