function toCSV = function(table, cb) { ;;;;var cmd = spawn('mdb-export', [this.file, table]) ;;;;cmd.stdout.pipe(concat(function(err, out) { ;;;;;;;;;;;;if (err) return cb(err) ;;;;;;;;;;;;if (!out) return cb('no output') ;;;;;;;;;;;;cb(false, out.toString()) ;;;;;;;;})) }