Destroy stty process after 15 sec
@@ -210,13 +210,10 @@ public class OConsoleDatabaseApp extends OrientConsole implements OCommandOutput
timer.schedule(new TimerTask() {
@Override
public void run() {
- if (p.isAlive()) {
p.destroyForcibly();
}
- }
}, 15 * 1000);
-
p.waitFor(10, TimeUnit.SECONDS);
timer.cancel();
