Skip to content

Commit b9d767c

Browse files
Linn DahlgrenMylesBorins
Linn Dahlgren
authored andcommitted
doc: change type of child_process.signalCode to string
During testing, and interfacing with child_processes, I found that the child_process.signalCode property to be the string representation of the signal, not number. PR-URL: #35223 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent b4514d4 commit b9d767c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/child_process.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,9 +1389,9 @@ connection to the child.
13891389

13901390
### `subprocess.signalCode`
13911391

1392-
* {integer}
1392+
* {string|null}
13931393

1394-
The `subprocess.signalCode` property indicates the signal number received by
1394+
The `subprocess.signalCode` property indicates the signal received by
13951395
the child process if any, else `null`.
13961396

13971397
### `subprocess.spawnargs`

0 commit comments

Comments
 (0)