~crc_/retroforth#69: 
`-i -t` allows invalid filepaths

#Steps to Reproduce

  1. Run retro -i -t foo.retro (assuming this file does not exist)
  2. Observe that retro goes into the REPL, but does not crash or emit warnings about the fact that the file is missing.

#Expected Behavior

Since most CLI tools will exit with code 1 and emit an error message (or emit a warning if they do not crash on bad input), I found the current behavior surprising.

#Version Info

RETRO 12 (2021.7)

Status
RESOLVED FIXED
Submitter
~rickcarlino
Assigned to
No-one
Submitted
3 years ago
Updated
3 years ago
Labels
No labels applied.

~crc_ REPORTED FIXED 3 years ago

Resolved. It will now display an error and exit with code 1 as expected.

Register here or Log in to comment, or comment via email.