Documentation ¶
Overview ¶
Package exec2 is like os/exec but supports timeout in Wait and process containment for unix using process group.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
Cmd is like exec.Cmd, but supports terminate and process containment.
func CommandContext ¶
CommandContext is like exec.CommandContext, but it uses process group by default and supports timeout in Wait function.
Click to show internal directories.
Click to hide internal directories.