Documentation
¶
Overview ¶
Package proc constructs child processes for the desktop application.
A Windows GUI process has no console. When it starts a console-subsystem program, Windows allocates one, and the default console is visible: a short command makes a window appear and disappear for as long as the child lives. Command and CommandContext apply the platform attributes that keep that console hidden. The attributes are a no-op outside Windows.
PTY/ConPTY processes are deliberately excluded: their terminal host owns the console, so callers that need a real terminal must keep using the terminal launcher instead of this package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandContext ¶
CommandContext is exec.CommandContext with the same hidden-console attributes. The context behavior is exactly exec.CommandContext's.
Types ¶
This section is empty.