develooper Front page | perl.perl6.users | Postings from June 2018

Re: using run

Thread Previous | Thread Next
From:
Brandon Allbery
Date:
June 21, 2018 05:27
Subject:
Re: using run
Message ID:
CAKFCL4US=d6pa68u-ZuQfAcAZbVB=zZhutOeb+q0ShzP5p1HaA@mail.gmail.com
I don't manage the docs. But a ticket has already been opened:
https://github.com/perl6/doc/issues/2111

On Thu, Jun 21, 2018 at 12:59 AM Todd Chester <ToddAndMargo@zoho.com> wrote:

>
>
> On 06/20/2018 08:58 AM, Brandon Allbery wrote:
> > A pipe is for communication with a process. "Piped to a file" means
> > what? What's the process you're communicating with?
> >
> > More to the point, "run" is intended to be lower level, specifically so
> > you can directly control things. Things like redirection and shell
> > pipelines are higher level.
>
> Hi Brandon,
>
> Make sure the documentation makes it clear that "run" is
> not running a shell and that Pipes ("|"), redirects
> ("2>&1") and such are all shell dependent.
>
> -T
>
> p.s. I almost never make a shell system call anymore.
> I prefer "run" and then manipulate the data myself the
> way I want to, not some awkward shell helper command.
>


-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About