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

Re: Compile a program into moar vm

2015-01-02 Thread Elizabeth Mattijsen
On 01 Jan 2015, at 19:36, MAX PUX isleof...@gmail.com wrote: Excuse me but I can't find the documentation. Is there a way to compile a perl 6 program to moar vm bytecode? For example from example.pl to example.moarvm. CompUnit.new(‘example.pl’).precomp will create an ‘example.pl.moarvm’.

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