liuxiaolong
2020-05-30 662fdfec9c391b13b9af9b67009e44d394bc97c9
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
}