parent
45552cf809
commit
ce4ea6ea53
1
main.go
1
main.go
@ -63,6 +63,7 @@ func exportEnvVars() {
|
|||||||
|
|
||||||
func startServer() {
|
func startServer() {
|
||||||
cmd := detachedCommand(os.Args[0], "-server")
|
cmd := detachedCommand(os.Args[0], "-server")
|
||||||
|
cmd.Dir = gUser.HomeDir
|
||||||
if err := cmd.Start(); err != nil {
|
if err := cmd.Start(); err != nil {
|
||||||
log.Printf("starting server: %s", err)
|
log.Printf("starting server: %s", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user