Commit ec92ee31e6a81c2823604c0bafe240bd7c0a692e
1 parent
2476e369
Exists in
master
and in
1 other branch
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,6 +120,8 @@ app.post('/api', function(req, res){ | ||
120 | req.files.video.name + ' 1 ' + parameters.getPosition(req.body.posicao) + ' ' + parameters.getSize(req.body.tamanho) + ' ' + | 120 | req.files.video.name + ' 1 ' + parameters.getPosition(req.body.posicao) + ' ' + parameters.getSize(req.body.tamanho) + ' ' + |
121 | parameters.getTransparency(req.body.transparencia) + ' ' + ID_FROM_BD; | 121 | parameters.getTransparency(req.body.transparencia) + ' ' + ID_FROM_BD; |
122 | 122 | ||
123 | + console.log(command_line); | ||
124 | + | ||
123 | /* Executa a linha de comando */ | 125 | /* Executa a linha de comando */ |
124 | child = exec(command_line, function(err, stdout, stderr) { | 126 | child = exec(command_line, function(err, stdout, stderr) { |
125 | // [stdout] = vlibras-core output | 127 | // [stdout] = vlibras-core output |