From 02d3468516d13293e926c818758e9b83f9c464ee Mon Sep 17 00:00:00 2001 From: metacubex Date: Sun, 11 Dec 2022 18:24:55 +0800 Subject: [PATCH] chore: Android version supports child processes following the main process rules --- component/process/process_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component/process/process_linux.go b/component/process/process_linux.go index d0853be9..9b1a4844 100644 --- a/component/process/process_linux.go +++ b/component/process/process_linux.go @@ -185,7 +185,7 @@ func splitCmdline(cmdline []byte) string { cmdline = bytes.Trim(cmdline, " ") idx := bytes.IndexFunc(cmdline, func(r rune) bool { - return unicode.IsControl(r) || unicode.IsSpace(r) + return unicode.IsControl(r) || unicode.IsSpace(r) || r == ':' }) if idx == -1 {