executil

package
v8.1.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, cmd *exec.Cmd) error

Run starts the specified command and waits for it to complete.

The difference to Run from exec.CommandContext is that it sends an interrupt instead of a kill, which gives the process time for a graceful shutdown.

Types

This section is empty.

Jump to

Keyboard shortcuts

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