Michael McMahon wrote:
Don't you still have the corner case where Runtime.exec is invoked with an empty array and SystemRoot is not in the environment (launched by an older JDK for example)? In that case we can't make SystemRoot available to the child process either.On Windows, we are ensuring that SystemRoot will at a minimum always be set.
-Alan