common

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrepareEnterCmd added in v1.19.0

func PrepareEnterCmd(enterStage2 bool) []string

PrepareEnterCmd retrieves enter argument and prepare a command list to further run a command in stage1 context

func WithClearedCloExec

func WithClearedCloExec(lfd int, f func() error) error

WithClearedCloExec executes a given function in between setting and unsetting the close-on-exit flag on the given file descriptor

func WritePid added in v1.4.0

func WritePid(pid int, filename string) error

WritePid writes the given pid to $PWD/{filename}

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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