pablo-lamtenzan / miniShell

Implementing (most of) Bash from scracth, supports term-caps, expansion, job control and conditionals.
0 stars 0 forks source link

Execution path error handling conflict #35

Closed ClemaX closed 3 years ago

ClemaX commented 3 years ago

The missing path error is handled at two different places: handle_exec_error and path_get.

Typing an unknown command results in fatal error 6:

[clementhamada@minishell_wrap]$ a
bonus: a: command not found
bonus: unknown fatal error: 6!
exit