diff --git a/harness/app.go b/harness/app.go index d3abc264..24ab4ee2 100644 --- a/harness/app.go +++ b/harness/app.go @@ -93,7 +93,8 @@ func (cmd AppCmd) Start(c *model.CommandConfig) error { } // Run the app server inline. Never returns. -func (cmd AppCmd) Run() { +func (cmd AppCmd) Run(c *model.CommandConfig) { + utils.CmdInit(cmd.Cmd, !c.Vendored, c.AppPath) utils.Logger.Info("Exec app:", "path", cmd.Path, "args", cmd.Args) if err := cmd.Cmd.Run(); err != nil { utils.Logger.Fatal("Error running:", "error", err) diff --git a/revel/run.go b/revel/run.go index 93f22e6e..b04f9f67 100644 --- a/revel/run.go +++ b/revel/run.go @@ -162,6 +162,6 @@ func runApp(c *model.CommandConfig) (err error) { if c.HistoricMode { runMode = revel_path.RunMode } - app.Cmd(runMode).Run() + app.Cmd(runMode).Run(c) return }