Product Version: NetBeans IDE Dev (Build 201611050002)
Java: 1.8.0_112; Java HotSpot(TM) 64-Bit Server VM 25.112-b15
Runtime: Java(TM) SE Runtime Environment 1.8.0_112-b15
System: Windows 10 version 10.0 running on amd64; Cp1250; pl_PL (nb)
1. Create a "C/C++ Application" project
2. In the project options change "Console Type" to "External Terminal"
3. Run the project
4. Note 3 processes has been created: conhost.exe (twice) and cmd.exe
5. In the terminal window you have the prompt "Press [Enter] to close the terminal ..." - do it
6. Note that one of conhost.exe disappeared, but the others are still there
7. Do it several times - you will have a lot of conhost.exe and cmd.exe processes hanging.
8. Close NetBeans and the processes will disappear.
Created attachment 162821 [details]
Screenshot of dead processes
Can confirm this behaviour on Windows 10
Fixed in the internal repo (ba575e43c807).
The fixed version will be available in Dev build in a couple of days.
Thanks for the detailed bug report, it helped me a lot.
Integrated into 'main-silver', will be available in build *201612080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Ilia Gromov <email@example.com>
Log: Fixed #268874 - External console processes are not closed
(transplanted from ba575e43c8075662ca7fb65a69c2f95e0135445b)
Verified in NetBeans IDE 8.2 (Build 201612122312)