John Reilly wrote:
John Reilly wrote:I pass up the result of
to determine if the command found the process I was looking for.
John Reilly wrote:I think I solved the problem I took out the join on the input and error gobbler threads.
What may of been happening is that when exec messed up the join's were never going to finish and so the thread that called exec was just left there.
I’ll leave it running over the weekend to see if it keeps working correctly.
Should I put a time out on the Process waitFor method, as it something happened when exec was running could the calling method be left waiting indefinitely for wairFor to return?