shell.exec hangs launching background process (windows)
This isn't an issue with the glu agent, more a lack of my understanding of how to execute processes in the background on windows.
I've got a long running java application which I launch on unix with:
shell.exec("java MyServer &")
I'm now trying to achieve exactly the same on windows. I've switched to using javaw, as the application is not interactive.
I'm launching with
shell.exec("START /B CMD /C CALL javaw MyServer")
While the application is started, the call to shell.exec never returns. Some debugging shows the agent is waiting for the processes output stream to close.