Skip to content

Streaming output not receiving all input #85

@kevindmoore

Description

@kevindmoore

I'm using this package on a Flutter Mac app and am trying to stream Android adb logs.
When I run adb logcat from the terminal, I get different results than what I can in my app. I'm not sure if it just can't keep up with the stream or if it is skipping lines but there are lots of lines that are missing.
I'm using ShellLinesController and my shell looks like:
final shell =
Shell(throwOnError: false, stdout: controller.sink, verbose: false);
I then:
final args = shellArguments(arguments);
await shell.run(args);
My listen method is:
shellLinesController.stream.listen((event) {
sendPort.send(event);
});

(I am using an isolate)

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