Feature description
When a third-party app invokes Termux to execute some long-running commands via run command, is it possible to return the command output in real time?
While reviewing the source code, I found a callback called OneLineListener in StreamGobbler:
|
public OnLineListener getOnLineListener() { |
However, it does not appear to be used anywhere. Could this be a possible entry point for implementing real-time output callbacks?
Additional information
It doesn't seem to be used anywhere.
Feature description
When a third-party app invokes Termux to execute some long-running commands via run command, is it possible to return the command output in real time?
While reviewing the source code, I found a callback called OneLineListener in StreamGobbler:
termux-app/termux-shared/src/main/java/com/termux/shared/shell/StreamGobbler.java
Line 316 in 3f0dec3
However, it does not appear to be used anywhere. Could this be a possible entry point for implementing real-time output callbacks?
Additional information
It doesn't seem to be used anywhere.