Re:No Ghosts
by kec on Friday December 02, 2022 @12:30PM
(#33833647)
Environment variables can have a spooky action at a distance when inherited by subprocesses.
For your example specifically though, there's no check against a variable you misspelled / neglected to specify which could be ever worse as the variable may already exist in the environment with some other value you don't expect.
For your example specifically though, there's no check against a variable you misspelled / neglected to specify which could be ever worse as the variable may already exist in the environment with some other value you don't expect.