Merge pull request #5906 from thaJeztah/replace_os_exec

This commit is contained in:
Fu Wei
2021-09-11 10:38:53 +08:00
committed by GitHub
41 changed files with 166 additions and 66 deletions

View File

@@ -21,7 +21,6 @@ import (
"io/ioutil"
"log"
"os"
"os/exec"
"path/filepath"
"time"
"unsafe"
@@ -31,6 +30,7 @@ import (
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"github.com/urfave/cli"
exec "golang.org/x/sys/execabs"
"golang.org/x/sys/windows"
"golang.org/x/sys/windows/svc"
"golang.org/x/sys/windows/svc/debug"