...
This commit is contained in:
@@ -293,7 +293,7 @@ func run() int {
|
||||
fmt.Println("RUNEVT")
|
||||
exec_app_cmd := "cd " + filepath.Dir(ev.Data["Msg"])+";"
|
||||
exec_app_cmd += ev.Data["Msg"]
|
||||
exec_app_cmd +="; sync & cd "+UI.GetExePath()+"; "+os.Args[0]
|
||||
exec_app_cmd +="; sync & cd "+UI.GetExePath()+"; "+os.Args[0]+";"
|
||||
fmt.Println(exec_app_cmd)
|
||||
cmd := exec.Command("/bin/sh","-c",exec_app_cmd)
|
||||
err := cmd.Start()
|
||||
|
||||
Reference in New Issue
Block a user