Alicia-bites / minishell

This project is about creating a simple shell.
1 stars 0 forks source link

#12 Question mark present after echo $? #12

Closed BarrierAntho closed 2 years ago

BarrierAntho commented 2 years ago

CASES: execute a command whizh does not exist and do echo $?

$: command
Error:
file: srcs/pipe/pipe_cmd.c
message: command not found
$: echo $?
127?

ACTUAL RESULT: question mark is present at the end of the int 127?

EXPECTED RESULT: no question mark 127