Skip to content

Commit

Permalink
Mention that it only affects setsid/setpgid processes in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
benhoyt committed Aug 17, 2023
1 parent a1e328a commit 1be67fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internals/overlord/servstate/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,9 @@ func (s *serviceData) startInternal() error {

// Add WaitDelay to ensure cmd.Wait() returns in a reasonable timeframe if
// the goroutines that cmd.Start() uses to copy Stdin/Stdout/Stderr are
// blocked when copying due to a sub-subprocess holding onto them. Read
// more details in these issues:
// blocked when copying due to a sub-subprocess holding onto them. This
// only happens if the sub-subprocess uses setsid or setpgid to change
// the process group. Read more details in these issues:
//
// - https://github.com/golang/go/issues/23019
// - https://github.com/golang/go/issues/50436
Expand Down

0 comments on commit 1be67fc

Please sign in to comment.