fix(exec): do now swallow prompt and io on incorrect command followed by redirection

This commit is contained in:
Khaïs COLIN 2025-04-28 15:04:47 +02:00
parent 65c1eb9d84
commit d4da91b62b
2 changed files with 20 additions and 8 deletions

View file

@ -1449,4 +1449,13 @@ hi
hello
EOF
when_run <<EOF "incorrect command into redirection"
printff hello > bonjour
ls
EOF
expecting <<EOF
minishell: printff: command not found
bonjour
EOF
finalize