exec

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package exec provides functions that wrap os/exec functions. These functions prevent external commands from opening windows on the Windows platform.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(name string, arg ...string) *exec.Cmd

Command wraps the exec.Command function, preventing Windows from opening a window when starting.

func CommandContext

func CommandContext(ctx context.Context, name string, arg ...string) *exec.Cmd

CommandContext wraps the exec.CommandContext function, preventing Windows from opening a window when starting.

Types

This section is empty.

Jump to

Keyboard shortcuts

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