summaryrefslogtreecommitdiffstats
path: root/src/poem/elements/verse/logic.rs
diff options
context:
space:
mode:
authorRory Dudley2024-02-19 02:33:36 -0700
committerRory Dudley2024-02-19 02:33:36 -0700
commit08be85a2fc508450c6361af4ef38a7dcd3efbde5 (patch)
tree3d57a1940200f93b49e506b4e435af0d5a40d3e9 /src/poem/elements/verse/logic.rs
parent2e5cc53499947c32b01ea5e1787ed505bc286969 (diff)
downloaddwarvish-08be85a2fc508450c6361af4ef38a7dcd3efbde5.tar.gz
Better handling of errors during the fork
Adds two additional error checks when the shell forks: 1. Checks for permission (+r, +x) 2. Checks if the file exists The first error may occur if the user does not have read access to the file, or if the file is not executable. The second error may occur if a file was removed from the $PATH, and the $PATH hasn't been refreshed yet.
Diffstat (limited to 'src/poem/elements/verse/logic.rs')
0 files changed, 0 insertions, 0 deletions