Commit ec92ee31e6a81c2823604c0bafe240bd7c0a692e

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

Minor fix in support of callback

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
server.js
... ... @@ -120,6 +120,8 @@ app.post('/api', function(req, res){
120 120 req.files.video.name + ' 1 ' + parameters.getPosition(req.body.posicao) + ' ' + parameters.getSize(req.body.tamanho) + ' ' +
121 121 parameters.getTransparency(req.body.transparencia) + ' ' + ID_FROM_BD;
122 122  
  123 + console.log(command_line);
  124 +
123 125 /* Executa a linha de comando */
124 126 child = exec(command_line, function(err, stdout, stderr) {
125 127 // [stdout] = vlibras-core output
... ...