It has been '0' days since I found yet another piece of code that assumed that if $PWD exists, its contents are accurate. This is rather false.
Conversation
Notices
-
Embed this notice
Chris Siebenmann (cks@mastodon.social)'s status on Wednesday, 21-Aug-2024 07:19:22 JST Chris Siebenmann - Haelwenn /элвэн/ :triskell: likes this.
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Wednesday, 21-Aug-2024 07:22:43 JST Haelwenn /элвэн/ :triskell: @cks When does that happens in the wild though? -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Wednesday, 21-Aug-2024 07:28:03 JST Haelwenn /элвэн/ :triskell: @cks erf I should have searched in my newsreader before asking.
If others wonder: https://utcc.utoronto.ca/~cks/space/blog/unix/ShellsAndCurrentDirectory -
Embed this notice
Chris Siebenmann (cks@mastodon.social)'s status on Wednesday, 21-Aug-2024 08:47:21 JST Chris Siebenmann @lanodan The latest case for me was SLURM running a job; SLURM propagates the initial $PWD, but the job was a script that changed directories before running the Go build process.
In conversation permalink Haelwenn /элвэн/ :triskell: likes this.