mirror of
https://github.com/qdm12/gluetun.git
synced 2026-06-12 07:12:52 +02:00
chore(deps): implement github.com/qdm12/golibs/command locally (#2418)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package openvpn
|
||||
|
||||
import "os/exec"
|
||||
|
||||
type CmdStarter interface {
|
||||
Start(cmd *exec.Cmd) (
|
||||
stdoutLines, stderrLines <-chan string,
|
||||
waitError <-chan error, startErr error)
|
||||
}
|
||||
|
||||
type CmdRunStarter interface {
|
||||
Run(cmd *exec.Cmd) (output string, err error)
|
||||
CmdStarter
|
||||
}
|
||||
Reference in New Issue
Block a user