New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qx{} captures stderr #2564
Comments
From lumimies@gmail.comqx{} captures stderr as well as stdout, which it shouldn't be doing. In p5: In rakudo: |
From @ronaldxsThe program below prints the error output after during: and it usually my $x = qqx[ nonesuch ]; print "before\nduring: $x\nafter\n"; See also on IRC http://irclog.perlgeek.de/perl6/2012-04-29#i_5514465 |
From emile38@gmail.comunsubscribe On Sun, Apr 29, 2012 at 11:55 AM, Ron Schmidt
|
The RT System itself - Status changed from 'new' to 'open' |
From @usev6Looks like this is still an issue with Rakduo on Parrot and on JVM: $ perl6-p -e 'my $a = qx{echo woot 1>&2 }; say "|||$a|||"' $ perl6-j -e 'my $a = qx{echo woot 1>&2 }; say "|||$a|||"' Moar gets it right: I don't know how to test this in a portable way. For Unix-like system a test could look like: use v6; use Test; plan 1; is_run 'my $a = qx{echo woot 1>&2}; say "|||$a|||"', |
@usev6 - Status changed from 'new' to 'open' |
From @donaldhJVM backend fixed by Raku/nqp@4602aa52cb |
From @usev6After some tweaking I managed to make my test work on Windows as well. I added the test to S29-os/system.t with commit Raku/roast@0f4b5b6b49 The error was not fixed for Parrot, but since support for Parrot was suspended with Rakudo Star Release 2015.02, I'm closing this ticket as 'resolved'. I'll add the ticket to a list of closed ticket living in the mu repository: https://github.com/perl6/mu/blob/master/misc/rt.perl.org/tickets_closed_parrot_only.txt. In case support for Parrot will be restored in some future release the listed tickets can be checked and re-opened as appropriate. |
1 similar comment
From @usev6After some tweaking I managed to make my test work on Windows as well. I added the test to S29-os/system.t with commit Raku/roast@0f4b5b6b49 The error was not fixed for Parrot, but since support for Parrot was suspended with Rakudo Star Release 2015.02, I'm closing this ticket as 'resolved'. I'll add the ticket to a list of closed ticket living in the mu repository: https://github.com/perl6/mu/blob/master/misc/rt.perl.org/tickets_closed_parrot_only.txt. In case support for Parrot will be restored in some future release the listed tickets can be checked and re-opened as appropriate. |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#104794 (status was 'resolved')
Searchable as RT104794$
The text was updated successfully, but these errors were encountered: