mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +02:00
Bug 356132 - TerminalServiceHostShell with SshTerminalShell on slower targets will hang the shell when writeToShell with commands on shell that is not ready to accept command yet
This commit is contained in:
parent
f6e5dc2b7a
commit
f360d54532
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ public class TerminalServiceHostShell extends AbstractHostShell {
|
|||
.getInputStream()));
|
||||
}
|
||||
//bug 356132: wait for initial output before sending any command
|
||||
//FIXME this should likely move into the TerminalServiceShellWriterThread, so wait can be canceled
|
||||
bufReader.mark(1);
|
||||
bufReader.read();
|
||||
bufReader.reset();
|
||||
|
|
Loading…
Add table
Reference in a new issue