Re: External call like Capture::Tiny of Perl 5 ?

2015-01-03 Thread Gabor Szabo
thanks

I tried to describe what I know so far:
http://perl6maven.com/tutorial/running-external-commands-from-perl6

   Gabor

On Fri, Jan 2, 2015 at 4:44 PM, Tobias Leich em...@froggs.de wrote:

 This is in discussion right now, and since the recent pipe() addition,
 we have another bit implemented to actually make your proposal work.

 Though, we've not yet decided where we want to go, how one opens such a
 pipe or captures stdout/err, or does redirections of said handles...

 I hope we can say more in a few weeks.

 Am 02.01.2015 um 15:37 schrieb Gabor Szabo:
  I see there are 'run' and 'shell' functions that return the exit
  status in Proc::Status, and QX that returns the output. Wouldn't it be
  better to have a function the returns and object that contains both
  the status, the stdout and the stderr?
 
  e.g. extending Proc::Status to be able to hold those as well and
  changing QX to return
  that object?
 
  Gabor
 




Re: External call like Capture::Tiny of Perl 5 ?

2015-01-02 Thread Tobias Leich
This is in discussion right now, and since the recent pipe() addition,
we have another bit implemented to actually make your proposal work.

Though, we've not yet decided where we want to go, how one opens such a
pipe or captures stdout/err, or does redirections of said handles...

I hope we can say more in a few weeks.

Am 02.01.2015 um 15:37 schrieb Gabor Szabo:
 I see there are 'run' and 'shell' functions that return the exit
 status in Proc::Status, and QX that returns the output. Wouldn't it be
 better to have a function the returns and object that contains both
 the status, the stdout and the stderr?

 e.g. extending Proc::Status to be able to hold those as well and
 changing QX to return
 that object?

 Gabor




External call like Capture::Tiny of Perl 5 ?

2015-01-02 Thread Gabor Szabo
I see there are 'run' and 'shell' functions that return the exit status in
Proc::Status, and QX that returns the output. Wouldn't it be better to have
a function the returns and object that contains both the status, the stdout
and the stderr?

e.g. extending Proc::Status to be able to hold those as well and changing
QX to return
that object?

Gabor