# New Ticket Created by [email protected]
# Please include the string: [perl #128805]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=128805 >
If an external command called by run dies with an signal, then there's no
exception:
$ perl6 -e 'run "perl", "-e", q{kill SEGV => $$}; say "should not happen"'
should not happen
I would expect something similar to:
$ perl6 -e 'run "perl", "-e", q{exit 1}; say "should not happen"'
The spawned process exited unsuccessfully (exit code: 1)
in block <unit> at -e line 1
except that the explanation should say something like (signal: SEGV) or
(signal: segmentation fault), maybe with core dump information appended.
Version info:
perl6 --version
This is Rakudo version 2016.07.1 built on MoarVM version 2016.07
implementing Perl 6.c.
Operating system: Debian/jessie