From a36c5847a17a8e0fed28e1ea220697eb523417d6 Mon Sep 17 00:00:00 2001 From: mdomlop Date: Sun, 10 Mar 2019 06:34:52 +0100 Subject: [PATCH] Better process name substitution. --- src/snapman.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/snapman.py b/src/snapman.py index 20ffdff..8d282d0 100644 --- a/src/snapman.py +++ b/src/snapman.py @@ -3,7 +3,7 @@ import setproctitle import Snapman.functions from Snapman.args import args -from Snapman.quit import clean_exit +from Snapman.quit import * # include os, sys def main(): @@ -46,6 +46,6 @@ def main(): if __name__ == '__main__': - setproctitle.setproctitle('snapman') + setproctitle.setproctitle(' '.join(sys.argv)) main() clean_exit()