`who am i`
In https://github.com/enola-dev/enola/pull/1358 I have stumbled upon a strange issue where exec-ing who am i through this library does not capture it's output - although running it from a traditional shell does; e.g. it's:
vorburger pts/1 2025-05-03 00:18 (tmux(2695).%19)
I haven't found an obvious cause for this strange behaviour yet, and it's not clear to me if it's something wrong in that code, or perhaps even here in this projet - is there perhaps some race condition where output is lost?!
As a first step, I'll therefore try to reproduce the issue with an "upstream" test case in this project.
#270 illustrates that whoami works, but who am i currently does not work.
This is (apparently; TIL) because of what https://g.co/gemini/share/ba6c37b42c13 explains.
@szermatt @freddenis what a "fun" corner case! 🙄