mirror of https://github.com/aristocratos/bpytop
Fixed: Removed not needed escape character replacements
parent
9b732d4cfa
commit
cc460666ff
|
@ -3738,7 +3738,7 @@ class ProcCollector(Collector):
|
||||||
|
|
||||||
out[p.info["pid"]] = {
|
out[p.info["pid"]] = {
|
||||||
"name" : p.info["name"],
|
"name" : p.info["name"],
|
||||||
"cmd" : cmd.replace("\n", "").replace("\t", "").replace("\\", ""),
|
"cmd" : cmd,
|
||||||
"threads" : p.info["num_threads"],
|
"threads" : p.info["num_threads"],
|
||||||
"username" : p.info["username"],
|
"username" : p.info["username"],
|
||||||
"mem" : mem,
|
"mem" : mem,
|
||||||
|
@ -3922,7 +3922,7 @@ class ProcCollector(Collector):
|
||||||
out[pid] = {
|
out[pid] = {
|
||||||
"indent" : inindent,
|
"indent" : inindent,
|
||||||
"name": name,
|
"name": name,
|
||||||
"cmd" : cmd.replace("\n", "").replace("\t", "").replace("\\", ""),
|
"cmd" : cmd,
|
||||||
"threads" : threads,
|
"threads" : threads,
|
||||||
"username" : username,
|
"username" : username,
|
||||||
"mem" : mem,
|
"mem" : mem,
|
||||||
|
|
Loading…
Reference in New Issue