This commit is contained in:
Minho 2017-05-11 16:14:29 +08:00
parent 59236c2881
commit 29146f5f33
2 changed files with 3 additions and 3 deletions

View File

@ -24,8 +24,8 @@ func ConverterHtmlToPdf(uri []string,path string) (error) {
params = append(params,uri...)
params = append(params,path)
beego.Info(params...)
beego.Info(params)
cmd := exec.Command("/bin/bash",params...)
stdout, err := cmd.StdoutPipe()

View File

@ -26,7 +26,7 @@ func ConverterHtmlToPdf(uri []string,path string) (error) {
params = append(params,uri...)
params = append(params,path)
beego.Info(params...)
beego.Info(params)
cmd := exec.Command("cmd",params...)