Commit 2476e3698fb5f293b45ce96fd4c40ee7603bd34a

Authored by dhuy
1 parent 01bdf0d7
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
@@ -123,7 +123,9 @@ app.post('/api', function(req, res){ @@ -123,7 +123,9 @@ app.post('/api', function(req, res){
123 /* Executa a linha de comando */ 123 /* Executa a linha de comando */
124 child = exec(command_line, function(err, stdout, stderr) { 124 child = exec(command_line, function(err, stdout, stderr) {
125 // [stdout] = vlibras-core output 125 // [stdout] = vlibras-core output
  126 + console.log(err);
126 console.log(stdout); 127 console.log(stdout);
  128 + console.log(stderr);
127 }); 129 });
128 130
129 if (req.body.callback === undefined) { 131 if (req.body.callback === undefined) {