Documentation
¶
Overview ¶
Package winhide provides a cross-platform helper to hide console windows when spawning external commands. On Windows it sets HideWindow; on other platforms it is a no-op.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cmd ¶
Cmd configures cmd so that no console window is shown. On Windows it sets HideWindow; on other platforms it does nothing.
func CommandContext ¶
CommandContext is like exec.CommandContext but also hides the console window on Windows. Use it as a drop-in replacement for exec.CommandContext when spawning external commands that should not flash a terminal window.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.