From 33786408f0b1490ed20b867f123b6415312fae30 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 5 May 2015 11:20:57 -0600 Subject: [PATCH] Startup/shutdown commands now have stdin --- config/setup/startupshutdown.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config/setup/startupshutdown.go b/config/setup/startupshutdown.go index 65fe8b80..ab7ce03e 100644 --- a/config/setup/startupshutdown.go +++ b/config/setup/startupshutdown.go @@ -40,6 +40,7 @@ func registerCallback(c *Controller, list *[]func() error) error { fn := func() error { cmd := exec.Command(command, args...) + cmd.Stdin = os.Stdin cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr