Skip to content

feat: apply promisifyStream to ProcessPromise exposed streams #978

@antongolub

Description

@antongolub

We've previously added stream extensions to make support mixed piping:

await $`cmd`.pipe(transform).pipe`cmd`

Let's also apply the same approach for ProcessPromise exposed streams:

const p1 = $`cmd`

const p2 = p.stdout.pipe`cmd1`
const p3 = p.stderr.pipe`cmd2`

See util.ts#promisifyStream for details

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