This is an issue with terminals in term-world not being run by the user currently occupying them. Even Python bug documentation for the error that this scenario causes says to use getpass.getuser() in nearly every situation:
🔗 https://bugs.python.org/issue40821
This is an issue with terminals in
term-worldnot being run by the user currently occupying them. Even Python bug documentation for the error that this scenario causes says to usegetpass.getuser()in nearly every situation:🔗 https://bugs.python.org/issue40821