mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-09 09:35:00 +09:00
kill properly
This commit is contained in:
parent
2c744076b6
commit
4cc97573e8
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ func SendResultsToHttp(apiKey string, events []Event) error {
|
|||
}
|
||||
|
||||
func KillServer() error {
|
||||
return ExecuteCommand("kill $(lsof -i :31007 -t) ; echo \"Server killed\"")
|
||||
return ExecuteCommand("kill -9 $(lsof -i :31007 -t) ; echo \"Server killed\"")
|
||||
}
|
||||
|
||||
func ExecuteCommand(command string) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue