Ubuntu 19.10 Using inellij latest version Java
Purpose: With java code use the terminal to monitor and verify tests on android device, For example tcpdump command on android device Logcat command and so on,
The problem is that if the output always listen / write the java can't get the strings, Only if I am shutting the terminal (ctrl c) and then the java gets the strings at once,
What I need is to get the real time output that the terminal provide, seems that the terminal is locked and I understand that I need to open a socket connection to read the output in real time ?
Any help will be appreciated