LukasKava / Minishell

0 stars 0 forks source link

When I do the following pipeline: ls | cat | gibberish_command #57

Closed Gotr-byte closed 1 year ago

Gotr-byte commented 1 year ago

I dont get the right echo $?. I get 0 I should get a different number.

Gotr-byte commented 1 year ago

Ok it's fixed. It had something to do with catching the exit statuses from the chil process.

Gotr-byte commented 1 year ago

Statuses are working.