mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-09-08 12:43:57 +08:00
Vendored
+1
-1
@@ -70,7 +70,7 @@ func TestCanExec(t *testing.T) {
|
||||
assert.Equal(t, canExec, CanExec())
|
||||
}
|
||||
|
||||
func execCommand(cmd string, arg ...string) (stdout string, stderr string, err error) {
|
||||
func execCommand(cmd string, arg ...string) (stdout, stderr string, err error) {
|
||||
output := bytes.NewBuffer(nil)
|
||||
errOutput := bytes.NewBuffer(nil)
|
||||
c := exec.Command(cmd, arg...)
|
||||
|
||||
Reference in New Issue
Block a user