liuxiaolong
2020-06-24 dff98ff959934d17b8222b06e827231374be55eb
extend/util/zip.go
@@ -282,7 +282,7 @@
}
func UnTarGzByCmd(srcFile string, dstPath string) (string,error) {
   cmd := exec.Command("tar -zxvf", srcFile, "-C", dstPath)
   cmd := exec.Command("tar","-zxvf", srcFile, "-C", dstPath)
   outPut, err := cmd.Output()
   return string(outPut), err
}