Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
remove syscall
Browse files Browse the repository at this point in the history
  • Loading branch information
thdxr committed Feb 7, 2024
1 parent 202605b commit 0092894
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkg/server/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"net/http"
"os"
"os/exec"
"syscall"
"time"
)

Expand All @@ -33,9 +32,9 @@ func Connect(ctx context.Context, input ConnectInput) error {
}
cmd := exec.Command(currentExecutable)
cmd.Env = os.Environ()
cmd.SysProcAttr = &syscall.SysProcAttr{
Setsid: true,
}
// cmd.SysProcAttr = &syscall.SysProcAttr{
// Setsid: true,
// }
cmd.Args = append(cmd.Args, "--stage", input.Stage, "server")
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
Expand Down

0 comments on commit 0092894

Please sign in to comment.