mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-29 04:04:03 +03:00
Correct an issue to split the command line path and arguments
This commit is contained in:
parent
462f8c0b9b
commit
47a0fece80
@ -326,7 +326,7 @@ class Plugin(GlancesPlugin):
|
|||||||
msg = self.layout_stat['command'].format(cmd)
|
msg = self.layout_stat['command'].format(cmd)
|
||||||
ret.append(self.curse_add_line(msg, decoration='PROCESS', splittable=True))
|
ret.append(self.curse_add_line(msg, decoration='PROCESS', splittable=True))
|
||||||
if arguments:
|
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))
|
ret.append(self.curse_add_line(msg, splittable=True))
|
||||||
else:
|
else:
|
||||||
msg = self.layout_stat['command'].format(p['name'])
|
msg = self.layout_stat['command'].format(p['name'])
|
||||||
|
Loading…
Reference in New Issue
Block a user