package main
import (
"context"
"fmt"
"net/http"
"os"
"os/signal"
"syscall"
"golang.org/x/sync/errgroup"
)
func main() {
ctx, cancel := context.WithCancel(context.Background())
go func() {
c := make(chan os.Signal, 1)
signal.Notify(c, os.Interrupt, syscall.SIGTERM, syscall.SIGTSTP)
Wie kann das beheben, wenn ein GO -Code aus dem Terminal ein Zombie -Prozess erstellt wird? ⇐ Linux
-
- Similar Topics
- Replies
- Views
- Last post