Skip to content

Can't pipe binary streams #2

Description

@selkovjr

Running this pipe
px«date» |» «gzip» |» «gunzip» |» @result

results in the following error:

Cannot resolve caller infix:<|»>(date ↦ (Str), gunzip); none of these signatures match:
    (Proc::Async:D $out, Proc::Async:D $in, :&done = Code, Mu :$stderr = Whatever, Bool :$quiet)
    (Shell::Pipe:D $pipe where { ... }, Proc::Async:D $in, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Shell::Pipe:D $pipe, Proc::Async:D $in, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Proc::Async:D $out, List:D \l where { ... }, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Shell::Pipe:D $pipe where { ... }, List:D \l where { ... }, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Proc::Async:D $out, Any:D \a where { ... }, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Proc::Async:D $out, \s where { ... }, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Shell::Pipe:D $pipe where { ... }, Any:D \a where { ... }, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Shell::Pipe:D $pipe where { ... }, Any:D \a where { ... }, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Any:D \a where { ... }, Proc::Async:D $in, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (&c, Proc::Async:D $in, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Shell::Pipe:D $pipe, &c, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Proc::Async:D $out, &c, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Supply:D \s, Proc::Async:D $in, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Proc::Async:D $out, Supplier:D \s, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Shell::Pipe:D $pipe where { ... }, Supplier:D \s, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Channel:D \c, Proc::Async:D $in, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Proc::Async $out, Channel:D \c, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Shell::Pipe:D $pipe where { ... }, Channel:D \c, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (IO::Handle:D $file, Proc::Async $proc, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (IO::Path:D $path where { ... }, Proc::Async $proc, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Proc::Async:D $out, IO::Path:D $path where { ... }, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Proc::Async:D $out, IO::Handle:D $file, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Shell::Pipe:D $pipe where { ... }, IO::Handle:D $file, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Shell::Pipe:D $pipe where { ... }, IO::Path:D $path, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Shell::Pipe:D $pipe where { ... }, IO::Handle:D $file, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)
    (Shell::Pipe:D $pipe where { ... }, IO::Path:D $path, :&done = Code, Mu :$stderr is raw = Whatever, Bool :$quiet)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions