Startup/shutdown commands now have stdin

This commit is contained in:
Matthew Holt 2015-05-05 11:20:57 -06:00
parent 9a78857b31
commit 33786408f0

View file

@ -40,6 +40,7 @@ func registerCallback(c *Controller, list *[]func() error) error {
fn := func() error { fn := func() error {
cmd := exec.Command(command, args...) cmd := exec.Command(command, args...)
cmd.Stdin = os.Stdin
cmd.Stdout = os.Stdout cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr cmd.Stderr = os.Stderr