process

package
v0.0.0-...-4294dbe Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 8

Documentation

Overview

Package process contains helpers for executing processes in ways that behave similarly to syscall.Exec, but using child processes instead

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(argv0 string, args []string, env []string) error

Exec generally mimics syscall.Exec behavior, but using a child process isntead to make testing etc. easier

func ExecJUnit

func ExecJUnit(argv0 string, args []string, env []string) error

ExecJUnit is like Exec, except that it tees the output and captures it for returning a metadata.JUnitError if the process does not exit success

func ExecJUnitContext

func ExecJUnitContext(ctx context.Context, argv0 string, args []string, env []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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