mirror of https://github.com/mindoc-org/mindoc.git
pull/39/head
parent
006cff4147
commit
59236c2881
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue