mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-04-05 20:17:53 +08:00
*
This commit is contained in:
parent
59236c2881
commit
29146f5f33
@ -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()
|
||||
|
@ -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...)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user