I use pty4j with jediterm, and I need to get the current directory. As I understand, to do this, I should execute something like pwd using PtyProcess process, but the command shouldn't be displayed in jediterm. I tried process.getOutputStream().write("stty -echo\n".getBytes());, but it didn’t work. Could anyone help me with this?
I use
pty4jwithjediterm, and I need to get the current directory. As I understand, to do this, I should execute something likepwdusingPtyProcess process, but the command shouldn't be displayed injediterm. I triedprocess.getOutputStream().write("stty -echo\n".getBytes());, but it didn’t work. Could anyone help me with this?