Other: Don't forward stdin/stdout/stderr

This commit is contained in:
James Houlahan
2022-11-22 14:04:13 +01:00
committed by Leander Beernaert
parent 6bd8c6ceb6
commit 7cb9d62f0c
3 changed files with 8 additions and 5 deletions

View File

@ -30,5 +30,8 @@ func run(cmd *exec.Cmd) error {
cmd.SysProcAttr = &syscall.SysProcAttr{
CreationFlags: syscall.CREATE_NEW_PROCESS_GROUP,
}
logrus.WithField("cmd", cmd).Info("Starting new process")
return cmd.Start()
}