Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureCommandProcessGroup ¶
ConfigureCommandProcessGroup starts cmd in its own process group without removing access to the caller's controlling terminal.
func ConfigureDetachedCommand ¶ added in v0.0.379
ConfigureDetachedCommand starts cmd in a new session and configures process-group cancellation.
func PrepareCommand ¶
PrepareCommand configures a captured subprocess in a detached session so it cannot bypass its configured streams through the caller's controlling TTY.
func PrepareCommandProcessGroup ¶ added in v0.0.379
PrepareCommandProcessGroup preserves controlling-terminal access while still providing process-group cancellation. Use this only for explicitly interactive helpers such as credential resolvers.
Types ¶
type LimitedBuffer ¶
type LimitedBuffer struct {
// contains filtered or unexported fields
}
func NewLimitedBuffer ¶
func NewLimitedBuffer(limit int64) *LimitedBuffer
func (*LimitedBuffer) String ¶
func (b *LimitedBuffer) String() string
func (*LimitedBuffer) Truncated ¶
func (b *LimitedBuffer) Truncated() bool
Click to show internal directories.
Click to hide internal directories.