Correct an issue to split the command line path and arguments

This commit is contained in:
nicolargo 2018-05-11 17:19:27 +02:00
parent 462f8c0b9b
commit 47a0fece80

View File

@ -326,7 +326,7 @@ class Plugin(GlancesPlugin):
msg = self.layout_stat['command'].format(cmd)
ret.append(self.curse_add_line(msg, decoration='PROCESS', splittable=True))
if arguments:
msg = self.layout_stat['command'].format(arguments)
msg = ' ' + self.layout_stat['command'].format(arguments)
ret.append(self.curse_add_line(msg, splittable=True))
else:
msg = self.layout_stat['command'].format(p['name'])