import "go.chromium.org/luci/common/system/exec2"
Package exec2 is like os/exec but supports timeout in Wait and process containment for unix using process group.
Cmd is like exec.Cmd, but supports terminate and process containment.
CommandContext is like exec.CommandContext, but it uses process group by default and supports timeout in Wait function.
Kill kills process.
Start starts command with appropriate setup.
Terminate sends SIGTERM on unix or CTRL+BREAK on windows.
Wait waits to process to finish.
Package exec2 imports 4 packages (graph) and is imported by 2 packages. Updated 2021-01-18. Refresh now. Tools for package owners.