Skip to content

[Feature]: Stream execution results for run command #5018

@yzjdev

Description

@yzjdev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions