[mod] downgrade errors from current xqlint defects
This commit is contained in:
parent
cad09a9e3f
commit
e590fabce1
11 changed files with 129 additions and 66 deletions
20
scripts/spawn.js
Normal file
20
scripts/spawn.js
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
function Process() {
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
const process = require('child_process');
|
||||
var output='';
|
||||
var ls = process.spawn('basex.bat',["current-dateTime()"]);
|
||||
ls.stdout.on('data', function (data) {
|
||||
output+=data;
|
||||
});
|
||||
ls.stderr.on('data', function (data) {
|
||||
console.log(data);
|
||||
});
|
||||
ls.on('close', function (code) {
|
||||
if (code == 0)
|
||||
console.log(output);
|
||||
else
|
||||
console.log('Error',code);
|
||||
});
|
||||
}
|
||||
|
||||
Process();
|
||||
Loading…
Add table
Add a link
Reference in a new issue