MCPcopy Index your code
hub / github.com/unconed/TermKit / exit

Function exit

Node/shell/command.js:251–258  ·  view source on GitHub ↗
(success, object)

Source from the content-addressed store, hash-verified

249
250 // Wrap exit handler to allow fake process to emit an exit event.
251 var exit = function (success, object) {
252 // Close dangling pipes.
253 that.process.stdout && that.process.stdout.emit('end');
254
255 // Notify of exit and send back return code.
256 that.process.emit('exit', !success);
257 that.exit(success, object);
258 };
259
260 async(function () {
261 that.handler.main.call(that, that.command, pipes, exit, this.environment);

Callers 15

processor.jsFile · 0.70
shellExitFunction · 0.70
reader.jsFile · 0.70
formatter.jsFile · 0.70
ls.jsFile · 0.50
null.jsFile · 0.50
grep.jsFile · 0.50
readerCloseFunction · 0.50
cd.jsFile · 0.50
pwd.jsFile · 0.50
hex.jsFile · 0.50
readerCloseFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected