| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 605cb4c commit a3c564b
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1243,9 +1243,11 @@ does not indicate that the child process has been terminated. | |||
| 1243 | 1243 | added: v0.1.90 | |
| 1244 | 1244 | --> | |
| 1245 | 1245 | ||
| 1246 | - * {integer} | ||
| 1246 | + * {integer|undefined} | ||
| 1247 | 1247 | ||
| 1248 | - Returns the process identifier (PID) of the child process. | ||
| 1248 | + Returns the process identifier (PID) of the child process. If the child process | ||
| 1249 | + fails to spawn due to errors, then the value is `undefined` and `error` is | ||
| 1250 | + emitted. | ||
| 1249 | 1251 | ||
| 1250 | 1252 | ```js | |
| 1251 | 1253 | const { spawn } = require('child_process'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments