Ticket #834 (closed bug: fixed)
exit opcode doesn't set process return value
| Reported by: | pmichaud | Owned by: | dukeleto |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | core | Version: | 1.3.0 |
| Severity: | high | Keywords: | |
| Cc: | Language: | perl6 | |
| Patch status: | Platform: |
Description
The 'exit' opcode appears to not set the process return value:
$ cat x.pir
.sub main
exit 1
.end
$ ./parrot x.pir
$ echo $?
0
This is causing problems for many build scripts in Rakudo -- errors encountered during compilation aren't halting the build (and thus the errors are easily overlooked).
Pm
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

