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

Re: using run

Thread Previous | Thread Next
Theo van den Heuvel
June 20, 2018 17:48
Re: using run
Message ID:
Hi Brandon,

I used the wrong term there. I meant to say: put in a file. Sorry for 
the confusion.


Brandon Allbery schreef op 2018-06-20 17:58:
> If you're going to use terms in a different way than what they
> actually mean, it's going to be difficult to produce something that
> does what you believe it should do *and* what it should actually do.
> 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.
> That said, :out and :err are incompletely documented; the form that
> tells it to create pipes so your script can communicate with the
> process is there, but you can also specify handles to attach them to.
> In which case you would open a file, then say :out($myHandle) to
> attach the process's stdout to the handle $myHandle.

> brandon s allbery kf8nh                               sine nomine
> associates
> unix, openafs, kerberos, infrastructure, xmonad

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About