mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 03:32:33 +08:00
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, " ")
|
||||
|
||||
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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user