Fix robustness of rpn shell script
Fix robustness of rpn shell script

- Should exit on error
- Should return the error code of the subprocess
- No need to run in a subprocess; can replace itself (exec)

pilona/RPN,pilona/RPN