console

package
v0.17.15 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2026 License: MIT 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