fix(helm): pass os.stdin when executing a plugin (#2740)

pull/2763/merge
Maciej Strzelecki 8 years ago committed by Adam Reese
parent 43ce6b57da
commit e61ee5c54e

@ -81,6 +81,7 @@ func loadPlugins(baseCmd *cobra.Command, out io.Writer) {
prog := exec.Command(main, argv...)
prog.Env = os.Environ()
prog.Stdin = os.Stdin
prog.Stdout = out
prog.Stderr = os.Stderr
if err := prog.Run(); err != nil {

Loading…
Cancel
Save