@@ -1639,7 +1639,7 @@ in which the child process is launched.
1639
1639
added: v0.1.90
1640
1640
-->
1641
1641
1642
- * {stream.Readable}
1642
+ * {stream.Readable|null|undefined }
1643
1643
1644
1644
A ` Readable Stream ` that represents the child process's ` stderr ` .
1645
1645
@@ -1649,16 +1649,16 @@ then this will be `null`.
1649
1649
` subprocess.stderr ` is an alias for ` subprocess.stdio[2] ` . Both properties will
1650
1650
refer to the same value.
1651
1651
1652
- The ` subprocess.stderr ` property can be ` null ` if the child process could
1653
- not be successfully spawned.
1652
+ The ` subprocess.stderr ` property can be ` null ` or ` undefined `
1653
+ if the child process could not be successfully spawned.
1654
1654
1655
1655
### ` subprocess.stdin `
1656
1656
1657
1657
<!-- YAML
1658
1658
added: v0.1.90
1659
1659
-->
1660
1660
1661
- * {stream.Writable}
1661
+ * {stream.Writable|null|undefined }
1662
1662
1663
1663
A ` Writable Stream ` that represents the child process's ` stdin ` .
1664
1664
@@ -1671,8 +1671,8 @@ then this will be `null`.
1671
1671
` subprocess.stdin ` is an alias for ` subprocess.stdio[0] ` . Both properties will
1672
1672
refer to the same value.
1673
1673
1674
- The ` subprocess.stdin ` property can be ` undefined ` if the child process could
1675
- not be successfully spawned.
1674
+ The ` subprocess.stdin ` property can be ` null ` or ` undefined `
1675
+ if the child process could not be successfully spawned.
1676
1676
1677
1677
### ` subprocess.stdio `
1678
1678
@@ -1724,7 +1724,7 @@ not be successfully spawned.
1724
1724
added: v0.1.90
1725
1725
-->
1726
1726
1727
- * {stream.Readable}
1727
+ * {stream.Readable|null|undefined }
1728
1728
1729
1729
A ` Readable Stream ` that represents the child process's ` stdout ` .
1730
1730
@@ -1744,8 +1744,8 @@ subprocess.stdout.on('data', (data) => {
1744
1744
});
1745
1745
```
1746
1746
1747
- The ` subprocess.stdout ` property can be ` null ` if the child process could
1748
- not be successfully spawned.
1747
+ The ` subprocess.stdout ` property can be ` null ` or ` undefined `
1748
+ if the child process could not be successfully spawned.
1749
1749
1750
1750
### ` subprocess.unref() `
1751
1751
0 commit comments