http://jira.hyperic.com/browse/HHQ-4052
This comes from support issue: SUPPORT-7995
When trying to run a windows powershell script from hq, the process will hang until the timeout is reached.
It seems that powershell first reads all input from it's input stream before continuing. So after a bunch of testing the only solution was to close the outputstream on the process. (i.e proc.getOutputStream().close())
I do not believe this will cause any problems with the ExecutableProcess, since we are not taking input from a user in this case, but I was not sure if this could affect anything else that uses ExecutableProcess.
Anonymous