You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use Command.WaitDelay to avoid Command.Wait blocking on stdin/out/err
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:
- golang/go#23019
- golang/go#50436
This isn't the original intent of kill-delay, but it seems reasonable
to reuse it in this context.
Fixescanonical#149
0 commit comments