Then this might be something Windows-specific, since for me on Linux the process isn't returning until the compilation is complete (or failed) and the return code is correct. When I pass --verbose (or when I had the verbosity options already turned on before), I get the full compilation output in my console as well.
The IDE popping up is annoying, so I already have a patch to (very inelegantly, but effectively) fix that