I wanted to launch simple notepad application from nodejs server running as windows service.
So first i created a nodejs "server.js" file which contain following code :
require("child_process").exec("notepad");
When i run "node server.js" in command prompt the notepad is opening properly.
But after this i made this nodejs server as windows service and when i start the service notepad is not opening at all.[not specifically notepad,any app which has GUI is not opening.]
To make it as windows service i have used node-windows as well as qckwinsvc,but both giving same result.
why i am unable to launch notepad when node.js server running as windows service.,which works fine when i run server.js file manually from command prompt.
Please help me.