Am using bellow code to pass two arguments along with an exe file execution as follows.But it is not working.in command line it is working properly.
var osName =jobData[0].os;
exec('Shedule.exe',['value=Start'],['ID=osName'], function (err, data) {
console.log(data);
});
in cmd
C:\Users\Desktop\ver>Shedule.exe value=Start ID=WIN7-64
exec('Shedule.exe value=Start ID=osName', function (err, stdout, stderr) {? and where is this node app running at?exec('Shedule.exe value=Start ID=osName', function (err, data) {i tried this way but it is not workingerryou get?