OrioPrisco / minishell

GNU General Public License v2.0
0 stars 1 forks source link

pwd in stale fd #135

Open OrioPrisco opened 11 months ago

OrioPrisco commented 11 months ago

pwd in stale fd fails in bash, while ours does not, it falls back to $PWD

OrioPrisco commented 11 months ago

unable to reproduce ?

OrioPrisco commented 11 months ago

Might be able to reproduce : bash has an odd behaviour if started from a stale file handle : $PWD will be set (by the calling process), but pwd will fail not sure if this is something we want to handle