Start Process and inherited handles on Windows
My application starts a launch-and-forget process using ProcessBuilder.start. That process keeps a handle to a file of mine that was opened (and I guess not closed) by a dll I called but didn't write. That's messing me up when I try to replace or re-write that file. (The sub-process has no interest in that file.)
The Windows CreateProcess function has a "inherit handles" boolean. Is there someway I can get Java to set that boolean to false?