pull/39/head
Minho 2017-05-11 16:12:56 +08:00
parent 006cff4147
commit 59236c2881
2 changed files with 4 additions and 0 deletions

View File

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

View File

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