Skip to content

k1LoW/exec

Repository files navigation

exec CI GitHub release GoDoc

Usage

import (
    // "os/exec"
    "github.com/k1LoW/exec"
)

Difference between os/exec and k1LoW/exec

  • k1LoW/exec.Command returns *os/exec.Cmd with PGID set.
  • When context cancelled, k1LoW/exec.CommandContext send signal to process group.

References