1
0
mirror of https://github.com/coreos/mantle.git synced 2026-02-06 03:45:39 +01:00

2 Commits

Author SHA1 Message Date
Michael Marineau
42564bff1e system/exec: add CommandContext from go1.7 and reimplement Kill
The previous Kill implementation sent the signal even if the command had
already exited. The new cancel mechanism handles this case properly.
2016-10-25 13:11:59 -07:00
Michael Marineau
01e4074e74 system/exec: move exec utilities to their own package
The new package is a near drop-in replacement for the standard os/exec
package. NewCommand has been renamed to Command in order to match the
standard package. dnsmasq has switched to this new package, fixing error
reporting in its Destroy method.
2015-11-04 16:04:53 -08:00