@@ -1075,6 +1075,13 @@ When the child process is a Node.js instance (e.g. spawned using
1075
1075
[ ` child_process.fork() ` ] [ ] ), the ` process.disconnect() ` method can be invoked
1076
1076
within the child process to close the IPC channel as well.
1077
1077
1078
+ ###subprocess.exitCode:
1079
+
1080
+ * {integer}
1081
+
1082
+ ` subprocess.exitcode ` property indicates exit code of the child process.
1083
+ If child process is still running, the field will be null.
1084
+
1078
1085
### ` subprocess.kill([signal]) `
1079
1086
<!-- YAML
1080
1087
added: v0.1.90
@@ -1368,6 +1375,34 @@ It is also recommended that any `'message'` handlers in the child process
1368
1375
verify that ` socket ` exists, as the connection may have been closed during the
1369
1376
time it takes to send the connection to the child.
1370
1377
1378
+ ###subprocess.signalCode:
1379
+
1380
+ * {integer}
1381
+
1382
+ ` subprocess.signalCode ` property indicates the signal number received by
1383
+ the child process if any, from the parent node prcess, else null.
1384
+
1385
+ ###subprocess.spawnfie:
1386
+
1387
+ * {string}
1388
+
1389
+ ` subprocess.spawnfile ` property indicates the executable file name of
1390
+ the child process that is launched.
1391
+
1392
+ For [ ` child_process.fork() ` ] [ ] , its value will be equal to
1393
+ [ ` process.execPath ` ] [ ] .
1394
+ For [ ` child_process.spawn() ` ] [ ] , its value will be the name of
1395
+ the executable file.
1396
+ For [ ` child_process.exec() ` ] [ ] , its value will be the name of the shell
1397
+ in which the child process is launched.
1398
+
1399
+ ###subprocess.spawnargs:
1400
+
1401
+ * {Array}
1402
+
1403
+ ` subprocess.spawnargs ` property represents the full list of command line
1404
+ arguments the child process was launched with.
1405
+
1371
1406
### ` subprocess.stderr `
1372
1407
<!-- YAML
1373
1408
added: v0.1.90
0 commit comments