MCPcopy
hub / github.com/meteor/meteor / oldSpringboard

Function oldSpringboard

tools/cli/main.js:562–576  ·  view source on GitHub ↗
(toolsVersion)

Source from the content-addressed store, hash-verified

560
561// Springboard to a pre-0.9.0 release.
562var oldSpringboard = function (toolsVersion) {
563 // Strip off the "node" and "meteor.js" from argv and replace it with the
564 // appropriate tools's meteor shell script.
565 var newArgv = process.argv.slice(2);
566 var cmd =
567 files.pathJoin(warehouse.getToolsDir(toolsVersion), 'bin', 'meteor');
568
569 // Release our connection to the sqlite catalog database for the current
570 // process, so that the springboarded process can reestablish it.
571 catalog.official.closePermanently();
572
573 // Now exec; we're not coming back.
574 require('kexec')(cmd, newArgv);
575 throw Error('exec failed?');
576};
577
578
579///////////////////////////////////////////////////////////////////////////////

Callers 1

main.jsFile · 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…