mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 01:15:29 +02:00
Bug 102043: Console Output Does Not Appear When Launching An Application.
This commit is contained in:
parent
ca2ea100c4
commit
4e635ba7cd
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2006-01-26 Mikhail Khodjaiants
|
||||
Bug 102043: Console Output Does Not Appear When Launching An Application.
|
||||
* utils/org/eclipse/cdt/utils/spawner/Spawner.java
|
||||
|
||||
2005-08-30 Alain Magloire
|
||||
PR 108202, code from Devin Steffler.
|
||||
* parser/org/eclipse/cdt/internal/core/dom/parser/c/GNUCSourceParser.java
|
||||
|
|
|
@ -142,6 +142,16 @@ public class Spawner extends Process {
|
|||
while (!isDone) {
|
||||
wait();
|
||||
}
|
||||
try {
|
||||
if(null == err)
|
||||
((SpawnerInputStream)getErrorStream()).close();
|
||||
if(null == in)
|
||||
((SpawnerInputStream)getInputStream()).close();
|
||||
if(null == out)
|
||||
((SpawnerOutputStream)getOutputStream()).close();
|
||||
|
||||
} catch (IOException e) {
|
||||
}
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue