MCPcopy Index your code
hub / github.com/darkguy2008/parallelshell / childClose

Function childClose

index.js:35–47  ·  view source on GitHub ↗
(code)

Source from the content-addressed store, hash-verified

33
34// called on close of a child process
35function childClose (code) {
36 var i, len;
37 code = code ? (code.code || code) : code;
38 if (verbose) {
39 if (code > 0) {
40 console.error('`' + this.cmd + '` failed with exit code ' + code);
41 } else {
42 console.log('`' + this.cmd + '` ended successfully');
43 }
44 }
45 if (code > 0 && !wait) close(code);
46 status();
47}
48
49function status () {
50 if (verbose) {

Callers

nothing calls this directly

Calls 2

closeFunction · 0.85
statusFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…