podman/pkg/machine/ssh_unix.go

18 lines
289 B
Go

//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd
package machine
import (
"io"
"os"
"os/exec"
)
func setupIOPassthrough(cmd *exec.Cmd, interactive bool, stdin io.Reader) error {
cmd.Stdin = stdin
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
return nil
}