Innovenergy_trunk/frontend/node_modules/tmp/test/keep-sync.js

13 lines
202 B
JavaScript
Raw Permalink Normal View History

var spawn = require('./spawn-sync');
var keep = spawn.arg;
try {
var result = spawn.tmpFunction({ keep: keep });
spawn.out(result.name, spawn.exit);
}
catch (e) {
spawn.err(err, spawn.exit);
}