00:57 topnep left 00:59 topnep joined
lizmat m: my $p = run("cat", :in, :out); $p.in.say("foo"); $p.in.close; say $p.out.slurp 07:47
camelia foo
lizmat modula ^^
:in and :out are flags indicating that you want to do something with STDIN and STDOUT on that program
you must supply the input by print / say on the object returned by $p.in 07:48
modula Ah, that makes more sense. I thought I saw the :in(...) way somewhere, but maybe I'm misremembering. Thanks again :) 07:49
lizmat yw :-) 08:06
09:33 librasteve_ joined 11:27 topnep left 11:29 topnep joined 12:56 sibl joined 13:13 sibl left 13:32 topnep left 13:35 topnep joined 16:53 lizmat left 18:50 lizmat joined 20:43 lizmat left