--- a/TerminalSession.st Mon Apr 30 21:53:32 2018 +0200
+++ b/TerminalSession.st Tue May 01 10:40:13 2018 +0200
@@ -830,7 +830,11 @@
[
self readerProcessLoop.
] ifCurtailed:[
- readerProcess := nil
+ "/ read any remaining data
+ (self readAnyAvailableData > 0) ifTrue:[
+ self halt:'to check if this solves the make problem'.
+ ].
+ readerProcess := nil.
]
] fork. "/ forkAt:9.
readerProcess name:'pty reader'.
@@ -855,9 +859,8 @@
p terminate.
"/ give it a chance to really terminate
Processor yield.
- "/ read any remaining data
- (self readAnyAvailableData > 0) ifTrue:[
- self halt:'to check if this solves the make problem'.
+ [p isDead] whileFalse:[
+ Delay waitForSeconds:0.05
].
].
! !