From: Marc R. <re...@gm...> - 2022-03-05 15:24:36
|
The latest commit exits the NetRexx program when an exception is thrown during ADDRESS invocation. Such exception can occur when the specified environment is not executable, or when a specified stream is unusable. The exitcode is 9. Note, "address bash 'nonexistingcommand'" will not exit, instead processing will complete and say 'command not found'. Personally I don't find such hard exit optimal. Another option is not to exit, and reset the special variable RC to undefined 'RC', where the calling user can find such exceptional condition. Both options could be coded and controlled by a new ADDRESSEXIT option. Your views? This code now also always correctly handles stderr. Marc |