@@ -1670,7 +1670,7 @@ in which the child process is launched.
1670
1670
added: v0.1.90
1671
1671
-->
1672
1672
1673
- * {stream.Readable}
1673
+ * {stream.Readable|null|undefined }
1674
1674
1675
1675
A ` Readable Stream ` that represents the child process's ` stderr ` .
1676
1676
@@ -1680,16 +1680,16 @@ then this will be `null`.
1680
1680
` subprocess.stderr ` is an alias for ` subprocess.stdio[2] ` . Both properties will
1681
1681
refer to the same value.
1682
1682
1683
- The ` subprocess.stderr ` property can be ` null ` if the child process could
1684
- not be successfully spawned.
1683
+ The ` subprocess.stderr ` property can be ` null ` or ` undefined `
1684
+ if the child process could not be successfully spawned.
1685
1685
1686
1686
### ` subprocess.stdin `
1687
1687
1688
1688
<!-- YAML
1689
1689
added: v0.1.90
1690
1690
-->
1691
1691
1692
- * {stream.Writable}
1692
+ * {stream.Writable|null|undefined }
1693
1693
1694
1694
A ` Writable Stream ` that represents the child process's ` stdin ` .
1695
1695
@@ -1702,8 +1702,8 @@ then this will be `null`.
1702
1702
` subprocess.stdin ` is an alias for ` subprocess.stdio[0] ` . Both properties will
1703
1703
refer to the same value.
1704
1704
1705
- The ` subprocess.stdin ` property can be ` undefined ` if the child process could
1706
- not be successfully spawned.
1705
+ The ` subprocess.stdin ` property can be ` null ` or ` undefined `
1706
+ if the child process could not be successfully spawned.
1707
1707
1708
1708
### ` subprocess.stdio `
1709
1709
@@ -1755,7 +1755,7 @@ not be successfully spawned.
1755
1755
added: v0.1.90
1756
1756
-->
1757
1757
1758
- * {stream.Readable}
1758
+ * {stream.Readable|null|undefined }
1759
1759
1760
1760
A ` Readable Stream ` that represents the child process's ` stdout ` .
1761
1761
@@ -1775,8 +1775,8 @@ subprocess.stdout.on('data', (data) => {
1775
1775
});
1776
1776
```
1777
1777
1778
- The ` subprocess.stdout ` property can be ` null ` if the child process could
1779
- not be successfully spawned.
1778
+ The ` subprocess.stdout ` property can be ` null ` or ` undefined `
1779
+ if the child process could not be successfully spawned.
1780
1780
1781
1781
### ` subprocess.unref() `
1782
1782
0 commit comments