chore: Android version supports child processes following the main process rules

This commit is contained in:
metacubex 2022-12-11 18:24:55 +08:00
parent f657ac97f6
commit 02d3468516

View File

@ -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 {