Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInterruptExit ¶
IsInterruptExit reports whether an exit status represents a Ctrl+C interrupt.
func IsInterruptExitCode ¶
IsInterruptExitCode reports whether exitCode represents a Windows Ctrl+C interrupt.
Types ¶
type Options ¶
type Options struct {
Interactive bool
// ForwardInterrupts keeps interactive Windows commands in the parent's
// console process group so they receive Ctrl+C directly.
ForwardInterrupts bool
// TerminateRemainingOnWait preserves each platform's native completion cleanup
// without running broad ownership discovery after an ordinary exit.
TerminateRemainingOnWait bool
}
Options controls how a process scope is managed.
Click to show internal directories.
Click to hide internal directories.