nowindow

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package nowindow starts helper programs (ffmpeg, sc.exe, net.exe, route, netsh) without a console window on Windows.

The host runs without a console of its own (as a service, from the desktop app or from quick support), so Windows gives every console program it starts a new console window. On Windows 11 that is a Windows Terminal window, which also ignores the SW_HIDE that HideWindow asks for: the user sees a terminal titled ffmpeg pop up, and again each time the screen capture restarts. CREATE_NO_WINDOW starts the program with no console at all; its output still goes to the pipes the caller set.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Set

func Set(cmd *exec.Cmd) *exec.Cmd

Set makes cmd start without a console window. It keeps whatever else cmd.SysProcAttr already asks for and does nothing outside Windows. It returns cmd, so it can wrap exec.Command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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