I have a web server application for managing build queues on Windows XP, and I used it to run batch files or executables without any additional packages.
I would check the error parameter on the callback and stderr, as this can help you find the reason why it does not work.
My sample solution is from my server, which I hope will help:
var theJobType = 'FOO'; var exec = require('child_process').exec; var child = exec('Test.exe ' + theJobType, function( error, stdout, stderr) { if ( error != null ) { console.log(stderr);
miltonb
source share