Help us shape the future of Go! Take the 2026 Go Developer Survey

console

package
v0.32.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package console provides Windows console utilities shared between pkg/automate (StopProcess escalation) and pkg/agent_tools (interruptProcessGroup). On Unix, this package is a stub — Unix builds use syscall.Kill directly for SIGINT and don't need GenerateConsoleCtrlEvent.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendCtrlBreak

func SendCtrlBreak(_ int) error

SendCtrlBreak is a stub on Unix. The Windows implementation uses GenerateConsoleCtrlEvent which has no Unix equivalent. Unix code paths should use syscall.Kill(pid, syscall.SIGINT) directly.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL