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 wrote: > This is in discussion right now, and since the recent pipe() addition, > we have another bit implemented to actually

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 sa

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