[t/spec] Add tricky tests (which pass after latest Rakudo patch), unfudge old simple...
[pugs.git] / examples / pipe_open.pl
blob484c526664f86b2e7631c8fa0a450b9eaa0a0c6d
1 use v6;
3 my $pugs = (($*OS ~~ any <MSWin32 cygwin msys>) ?? "pugs.exe" !! "./pugs");
4 #say "using $pugs";
6 my $pipe = Pipe::open("$pugs -V", :r);
8 print "got> $_\n" for $pipe.lines;