12 lines
210 B
JavaScript
12 lines
210 B
JavaScript
|
var spawn = require('./spawn');
|
||
|
|
||
|
var keep = spawn.arg;
|
||
|
|
||
|
spawn.tmpFunction({ keep: keep }, function (err, name) {
|
||
|
if (err) {
|
||
|
spawn.err(err, spawn.exit);
|
||
|
} else {
|
||
|
spawn.out(name, spawn.exit);
|
||
|
}
|
||
|
});
|