mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Use blocking read to read data from vcs processes
This commit is contained in:
committed by
Kirill Likhodedov
parent
a2d45184b9
commit
cff1ba8ca1
@@ -140,6 +140,11 @@ public abstract class GitTextHandler extends GitHandler {
|
|||||||
public Charset getCharset() {
|
public Charset getCharset() {
|
||||||
return myCharset;
|
return myCharset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean useNonBlockingRead() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -68,4 +68,9 @@ class HgCommandProcessHandler extends OSProcessHandler {
|
|||||||
return HgCommandProcessHandler.this.executeOnPooledThread(runnable);
|
return HgCommandProcessHandler.this.executeOnPooledThread(runnable);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean useNonBlockingRead() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -85,4 +85,9 @@ public class SvnProcessHandler extends OSProcessHandler {
|
|||||||
return SvnProcessHandler.this.executeOnPooledThread(runnable);
|
return SvnProcessHandler.this.executeOnPooledThread(runnable);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean useNonBlockingRead() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,11 +57,6 @@ public class TerminalProcessHandler extends SvnProcessHandler {
|
|||||||
process.destroy();
|
process.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
protected boolean useNonBlockingRead() {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void notifyTextAvailable(String text, Key outputType) {
|
public void notifyTextAvailable(String text, Key outputType) {
|
||||||
terminalOutputCapturer.onTextAvailable(new ProcessEvent(this, text), outputType);
|
terminalOutputCapturer.onTextAvailable(new ProcessEvent(this, text), outputType);
|
||||||
|
|||||||
Reference in New Issue
Block a user