chore: Android version supports child processes following the main process rules
This commit is contained in:
parent
f657ac97f6
commit
02d3468516
@ -185,7 +185,7 @@ func splitCmdline(cmdline []byte) string {
|
|||||||
cmdline = bytes.Trim(cmdline, " ")
|
cmdline = bytes.Trim(cmdline, " ")
|
||||||
|
|
||||||
idx := bytes.IndexFunc(cmdline, func(r rune) bool {
|
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 {
|
if idx == -1 {
|
||||||
|
Reference in New Issue
Block a user