Skip to content

Commit 2875909

Browse files
authored
Merge pull request #4354 from afbjorklund/kubectl-stdin
Pass minikube stdin to the kubectl command
2 parents dbc64c0 + e809cbd commit 2875909

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/minikube/cmd/kubectl.go

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ var kubectlCmd = &cobra.Command{
6767

6868
glog.Infof("Running %s %v", path, args)
6969
c := exec.Command(path, args...)
70+
c.Stdin = os.Stdin
7071
c.Stdout = os.Stdout
7172
c.Stderr = os.Stderr
7273
if err := c.Run(); err != nil {

0 commit comments

Comments
 (0)