OS: Linux xxx 5.10.0-16-amd64 #1 SMP Debian 5.10.127-1 (2022-06-30) x86_64 GNU/Linux
Python: Python 3.7.12 | packaged by conda-forge | (default, Oct 26 2021, 06:08:53) [GCC 9.4.0] on linux
py-setproctitle: 1.3.1 wheel from pypi or master compiled locally with pip install -e ./py-setproctitle --global-option --with-debugging-symbols --global-option --debug
test script:
#!/usr/bin/env python3
import setproctitle
if __name__ == '__main__':
print("PROCTITLE:", setproctitle.getproctitle())
OUTPUT
$ SPT_NOENV=yes /tmp/hello.py
PROCTITLE: /tmp/hello.p
EXPECTED OUTPUT (contains the last y)
$ SPT_NOENV=yes /tmp/hello.py
PROCTITLE: /tmp/hello.py
OS: Linux xxx 5.10.0-16-amd64 #1 SMP Debian 5.10.127-1 (2022-06-30) x86_64 GNU/Linux
Python: Python 3.7.12 | packaged by conda-forge | (default, Oct 26 2021, 06:08:53) [GCC 9.4.0] on linux
py-setproctitle: 1.3.1 wheel from pypi or master compiled locally with
pip install -e ./py-setproctitle --global-option --with-debugging-symbols --global-option --debugtest script:
OUTPUT
EXPECTED OUTPUT (contains the last y)