Re: (update the doc?) Re: run with $*OUT?

2019-06-06 Thread Marc Chantreux
hello, > Actually -- looks like it is there :-) though on the > Proc page, not the 'run' page -- too far from the expected lines. so maybe we should just add a link ? > I'm curious about whether you could rely > on a line being emitted right away -- e.g. > if there is some output-buffering of

Re: (update the doc?) Re: run with $*OUT?

2019-06-06 Thread Brian Duggan
On Thursday, June 6, Marc Chantreux wrote: > this isn't obvious to guess that '-' means "you can connect the > subprocess directly to the perl interpreter". i really think this > example is worth to be added in the documentation. Actually -- looks like it is there :-) though on the Proc page,

(update the doc?) Re: run with $*OUT?

2019-06-06 Thread Marc Chantreux
> Something like this? > my $p = run 'cat', '-n', :in, :out; > $p.in.say($_) for ; > $p.in.close; > say $p.out.slurp; *that* simple!!! perfect ... thanks a lot! this isn't obvious to guess that '-' means "you can connect the subprocess directly to the perl interpreter".