summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraristocratos <gnmjpl@gmail.com>2021-06-06 18:28:19 +0200
committeraristocratos <gnmjpl@gmail.com>2021-06-06 18:28:19 +0200
commitcc460666ff49e80afee582845011957faedfa556 (patch)
tree2e5d62325d7b894bfb50c1a822d9bc84d2192ab4
parent9b732d4cfa054875c33926894b17b6e0fed6f64b (diff)
Fixed: Removed not needed escape character replacements
-rwxr-xr-xbpytop.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpytop.py b/bpytop.py
index 21e252e..cbb1ae2 100755
--- a/bpytop.py
+++ b/bpytop.py
@@ -3738,7 +3738,7 @@ class ProcCollector(Collector):
out[p.info["pid"]] = {
"name" : p.info["name"],
- "cmd" : cmd.replace("\n", "").replace("\t", "").replace("\\", ""),
+ "cmd" : cmd,
"threads" : p.info["num_threads"],
"username" : p.info["username"],
"mem" : mem,
@@ -3922,7 +3922,7 @@ class ProcCollector(Collector):
out[pid] = {
"indent" : inindent,
"name": name,
- "cmd" : cmd.replace("\n", "").replace("\t", "").replace("\\", ""),
+ "cmd" : cmd,
"threads" : threads,
"username" : username,
"mem" : mem,