Commit e0038327c1367ef85a4daf4923ad20568ce21889

Authored by dhuy
1 parent 1b2218b6
Exists in master and in 1 other branch devel

Test in video and subtitle endpoint

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
server.js
... ... @@ -189,12 +189,12 @@ app.post('/api', function(req, res){
189 189 ' ' + parameters.getPosition(req.query.posicao) + ' ' + parameters.getSize(req.query.tamanho) + ' ' +
190 190 parameters.getTransparency(req.query.transparencia) + ' ' + ID_FROM_BD;
191 191  
192   - console.log(command_line);
193   -
194 192 /* Executa a linha de comando */
195 193 child = exec(command_line, function(err, stdout, stderr) {
196 194 // [stdout] = vlibras-core output
197   - // console.log(stdout);
  195 + console.log(err);
  196 + console.log(stdout);
  197 + console.log(stderr);
198 198 });
199 199  
200 200 /* Listener que dispara quando a requisição ao core finaliza */
... ...