[Chore]升级项目依赖

[Chore]隐藏TUN模式在system堆栈启动时弹窗
This commit is contained in:
Meta
2022-03-28 19:48:32 +08:00
parent 012e044c54
commit 07fda93111
7 changed files with 54 additions and 10 deletions

View File

@ -14,8 +14,9 @@ func ExecCmd(cmdStr string) (string, error) {
cmd = exec.Command(args[0])
} else {
cmd = exec.Command(args[0], args[1:]...)
}
}
prepareBackgroundCommand(cmd)
out, err := cmd.CombinedOutput()
if err != nil {
return "", fmt.Errorf("%v, %s", err, string(out))