~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
6 months ago
Updated
6 months ago
Labels
bug vm

~crc_ REPORTED FIXED 6 months 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.