I use this plugin to create a windows service: https://github.com/coreybutler/node-windows. I want to start an external program with my service. EDIT 1:
var cp = require("child_process");
cp.exec("C:\\Users\\test\\Desktop\\file.exe", function(error, stdout) {
});
Subsequently i try with a method of plugin. EDIT2
node_windows.elevate("C:\\Users\\test\\Desktop\\file.exe",function(error,stdout){
});
This method start exe but i don't see GUI in Desktop. If i check option in services.msc
=> Interact with desktop
i see another windows that ask me to confirm interaction of program, like this: http://help.tcadmin.com/images/d/dd/InteractWithDesktop.png
If i choose "VIEW THE MESSAGE" it redirect me to another section, that have only my program and node bash without desktop's app (LIKE THIS: https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/4029645611/original/7daystodie-session0.png?1471375419)
I have already open an issue: https://github.com/coreybutler/node-windows/issues/163
Anyone can help me?