mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2025-12-12 16:08:52 +01:00
/tmp/x.log for launchergo
This commit is contained in:
parent
feea16f279
commit
09372bfffd
2
main.go
2
main.go
@ -377,7 +377,7 @@ func run() int {
|
|||||||
|
|
||||||
exec_app_cmd := "cd " + filepath.Dir(ev.Data["Msg"][:space_break_pos]) + ";"
|
exec_app_cmd := "cd " + filepath.Dir(ev.Data["Msg"][:space_break_pos]) + ";"
|
||||||
exec_app_cmd += 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] + ">/tmp/x.log;"
|
||||||
fmt.Println(exec_app_cmd)
|
fmt.Println(exec_app_cmd)
|
||||||
release_self_fds()
|
release_self_fds()
|
||||||
cmd := exec.Command("/bin/sh", "-c", exec_app_cmd)
|
cmd := exec.Command("/bin/sh", "-c", exec_app_cmd)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user