Revision 8d5795b4 snf-cyclades-app/synnefo/logic/dispatcher.py
b/snf-cyclades-app/synnefo/logic/dispatcher.py | ||
---|---|---|
296 | 296 |
(opts, args) = parse_arguments(sys.argv[1:]) |
297 | 297 |
|
298 | 298 |
# Rename this process so 'ps' output looks like this is a native |
299 |
# executable. Can not seperate command-line arguments from actual name of
|
|
299 |
# executable. Cannot seperate command-line arguments from actual name of |
|
300 | 300 |
# the executable by NUL bytes, so only show the name of the executable |
301 | 301 |
# instead. setproctitle.setproctitle("\x00".join(sys.argv)) |
302 | 302 |
setproctitle.setproctitle(sys.argv[0]) |
Also available in: Unified diff