Commit b53b8522 authored by Vangelis Koukis's avatar Vangelis Koukis
Browse files

Only set executable name with python-setproctitle

Cannot set individual values for arguments using python-setproctitle.
parent 856268f2
......@@ -993,8 +993,12 @@ if __name__ == "__main__":
# Rename this process so 'ps' output looks like
# this is a native executable
setproctitle.setproctitle(" ".join(sys.argv))
# this is a native executable.
# NOTE: due to a bug in python-setproctitle, one cannot yet
# set individual values for command-line arguments, so only show
# the name of the executable instead.
# setproctitle.setproctitle("\x00".join(sys.argv))
if opts.daemonize:
pidfile = daemon.pidlockfile.TimeoutPIDLockFile(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment