Commit d250d413 authored by Chunchi Che's avatar Chunchi Che

grep stdout of ygopro in ygopro-server.js

parent 747b78c7
Pipeline #18613 passed with stages
in 9 minutes and 23 seconds
......@@ -1788,6 +1788,14 @@
}, 200);
}
});
this.process.stdout.on('data', (data) => {
const lines = data.split('\n');
for (let line of lines) {
if(line.length >= 2) {
log.info('process data:' + line);
}
}
});
return this.process.stderr.on('data', (data) => {
data = "Debug: " + data;
data = data.replace(/\n$/, "");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment