Han2-Ro / 42minishell

0 stars 0 forks source link

dont export/unset if they are piped #112

Closed Han2-Ro closed 5 months ago

Han2-Ro commented 5 months ago

use the same logic as in exit

Han2-Ro commented 5 months ago

bash behaviour: export with args, unset, exit seem to do nothing if they are piped. But they do stuff like normal with redirect into a file

current minishell behavior: exit does nothing if redirected (pipe or file) export unset always do what they do

aprevrah commented 5 months ago

resolved by #146