(ctx context.Context, path string, args ...string)
| 23 | } |
| 24 | |
| 25 | func NewDefaultBuilder(ctx context.Context, path string, args ...string) Builder { |
| 26 | return NewBuilder(ctx, path, args...). |
| 27 | WithOSEnv(). |
| 28 | WithSysProcAttr(&syscall.SysProcAttr{Setpgid: true}). |
| 29 | WithContextCancellation(defaultGracefulTerminationOnCancelPeriod) |
| 30 | } |
| 31 | |
| 32 | func NewBuilder(ctx context.Context, path string, args ...string) Builder { |
| 33 | w := &wrapper{ |
no test coverage detected