http://bugs.winehq.org/show_bug.cgi?id=19668
--- Comment #5 from Dan Kegel dank@kegel.com 2010-02-11 11:14:52 --- I guess it's time to write a testcase.
The patch I tried earlier was in wcmdmain.c: - if (assumeInternal || context || !HIWORD(console)) WaitForSingleObject (pe.hProcess, INFINITE); + if (opt_c || opt_k || assumeInternal || context || !HIWORD(console)) WaitForSingleObject (pe.hProcess, INFINITE); but it didn't keep devenv from crashing.