netstar pushed a commit to branch master. http://git.enlightenment.org/apps/evisum.git/commit/?id=5b839a79a3c2a8f759ea831de8dbf783c3ea085b
commit 5b839a79a3c2a8f759ea831de8dbf783c3ea085b Author: Alastair Poole <[email protected]> Date: Tue May 12 10:56:36 2020 +0100 proc: trim argument. --- src/bin/process.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/process.c b/src/bin/process.c index a5c9fc1..a73c3ea 100644 --- a/src/bin/process.c +++ b/src/bin/process.c @@ -194,8 +194,9 @@ _cmd_args(Proc_Info *p, int pid, char *name, size_t len) n = line; while (*n && (*n + 1)) { - eina_strbuf_append_printf(buf, "%s ", n); + eina_strbuf_append(buf, n); n = strchr(n, '\0') + 1; + if (*n && (*n + 1)) eina_strbuf_append(buf, " "); } p->arguments = eina_strbuf_release(buf); } --
