Skip to content

byteStringOutput breaks withProcessTerm #84

Open
@SmartHypercube

Description

@SmartHypercube
  1. byteStringOutput blocks and waits for the entire output in ssCreate.
  2. startProcess calls ssCreate.
  3. So startProcess blocks if I use byteStringOutput. (Well, this is already bad.)
  4. withProcessTerm is broken because it blocks in the startProcess stage. The user-provided action can only run after stdout is closed.

This bug makes this library unsuitable for almost all my use cases :( Since I often need to capture the output while setting some kind of timeout on the subprocess. Sadly I'm not sure how it can be fixed without a major redesign.

(Sorry if this is a duplicate of other open issues. I checked them but I'm not sure.)

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