liuxiaolong
2020-08-03 c2c00e400b77d5a4134e99af6e8181fa86716e72
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
}