Fixed waitFor semantics

This has the contents of the previous PR (which fixes GrokAssembly to not fail if it can't get the vendor) and also fixes the `waitFor` problem on Windows.