mirror of
https://github.com/containers/podman.git
synced 2025-10-13 09:15:20 +08:00
18 lines
279 B
Go
18 lines
279 B
Go
//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd
|
|
|
|
package machine
|
|
|
|
import (
|
|
"io"
|
|
"os"
|
|
"os/exec"
|
|
)
|
|
|
|
func setupIOPassthrough(cmd *exec.Cmd, _ bool, stdin io.Reader) error {
|
|
cmd.Stdin = stdin
|
|
cmd.Stdout = os.Stdout
|
|
cmd.Stderr = os.Stderr
|
|
|
|
return nil
|
|
}
|