Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Last active June 17, 2017 11:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/3351870822c4e2a54117e296121ab9a6 to your computer and use it in GitHub Desktop.
Save zoffixznet/3351870822c4e2a54117e296121ab9a6 to your computer and use it in GitHub Desktop.
zoffix@VirtualBox~/CPANPRC/rakudo (nom)$ ./perl6 bar.p6
["Supply Sequencer processing", [Buf[uint8].new(102,111,111,98,97,114,98,97,122,10), Str]]
["stdout tap ./perl6 -e say join \"\\n\", lines", "sending"]
["Supply Sequencer processing", [Str, Str]]
["stdout tap ./perl6 -e say join \"\\n\", lines", "donning"]
["bind-stdin", "writing"]
["bind-stdin", "donning"]
["Supply Sequencer processing", [Buf[uint8].new(102,111,111,98,97,114,98,97,122,10), Str]]
["stdout tap ./perl6 -e my \@l = lines; .say for \@l;", "sending"]
["Supply Sequencer processing", [Str, Str]]
["stdout tap ./perl6 -e my \@l = lines; .say for \@l;", "donning"]
Error!!! X::Channel::ReceiveOnClosed
ok 1 - Can capture stdout and stderr, and chain stdin
zoffix@VirtualBox~/CPANPRC/rakudo (nom)$ ./perl6 bar.p6
["Supply Sequencer processing", [Buf[uint8].new(102,111,111,98,97,114,98,97,122,10), Str]]
["stdout tap ./perl6 -e say join \"\\n\", lines", "sending"]
["Supply Sequencer processing", [Str, Str]]
["stdout tap ./perl6 -e say join \"\\n\", lines", "donning"]
["bind-stdin", "writing"]
["bind-stdin", "donning"]
["Supply Sequencer processing", [Str, Str]]
["stdout tap ./perl6 -e my \@l = lines; .say for \@l;", "donning"]
Error!!! X::Channel::ReceiveOnClosed
not ok 1 - Can capture stdout and stderr, and chain stdin
# Failed test 'Can capture stdout and stderr, and chain stdin'
# at bar.p6 line 8
# expected: 'foobarbaz
# '
# got: ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment