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