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

Function status

index.js:49–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49function status () {
50 if (verbose) {
51 var i, len;
52 console.log('\n');
53 console.log('### Status ###');
54 for (i = 0, len = children.length; i < len; i++) {
55 if (children[i].exitCode === null) {
56 console.log('`' + children[i].cmd + '` is still running');
57 } else if (children[i].exitCode > 0) {
58 console.log('`' + children[i].cmd + '` errored');
59 } else {
60 console.log('`' + children[i].cmd + '` finished');
61 }
62 }
63 console.log('\n');
64 }
65}
66
67// closes all children and the process
68function close (code) {

Callers 1

childCloseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…