Note that set_process_name can raise IOErrors

Oops, the code explicitly raises these when unable to do so but our docs didn't
mention it.
This commit is contained in:
Damian Johnson 2018-10-19 12:05:12 -07:00
parent 035432d312
commit 4f993e79ff

View File

@ -1409,6 +1409,8 @@ def set_process_name(process_name):
best-effort, not necessarily working on all platforms.
:param str process_name: new name for our process
:raises: **IOError** if the process cannot be renamed
"""
# This is mostly based on...