liuxiaolong
2020-06-09 2bccdd76da9afabd1af9f1a640c083d9881fb17f
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
}