exec

package
v0.8.5-rc.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(name string, arg ...string)

Exec is wrapper over syscall.Exec, invokes the execve(2) system call. On windows it executes Run with the same arguments.

func OpenInBrowser

func OpenInBrowser(url string) error

OpenInBrowser opens the given url on a web browser

func Run

func Run(name string, arg ...string)

Run is a wrapper over os/exec Cmd.Run that configures Stderr/Stdin/Stdout to the current ones and wait until the process finishes, exiting with the same code. Run will also forward all the signals sent to step to the command.

func RunWithPid

func RunWithPid(pidFile, name string, arg ...string)

RunWithPid calls Run and writes the process ID in pidFile.

Types

This section is empty.

Jump to

Keyboard shortcuts

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