mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-10-21 11:27:26 +08:00
*
This commit is contained in:
@@ -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...)
|
||||
|
||||
|
Reference in New Issue
Block a user