forked from Silverfish/proton-bridge
Other: Don't forward stdin/stdout/stderr
This commit is contained in:
committed by
Leander Beernaert
parent
6bd8c6ceb6
commit
7cb9d62f0c
@ -23,6 +23,8 @@ package restarter
|
||||
import (
|
||||
"os/exec"
|
||||
"syscall"
|
||||
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
func run(cmd *exec.Cmd) error {
|
||||
@ -31,5 +33,8 @@ func run(cmd *exec.Cmd) error {
|
||||
Setpgid: true,
|
||||
Pgid: 0,
|
||||
}
|
||||
|
||||
logrus.WithField("cmd", cmd).Info("Starting new process")
|
||||
|
||||
return cmd.Start()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user