From 04549da45ec40c9fe028fadee98d140e7c172015 Mon Sep 17 00:00:00 2001 From: Janelle Tavares Date: Wed, 31 Aug 2022 06:46:44 -0700 Subject: [PATCH] Go app run error output missing (#429) --- cmd/meroxa/turbine/golang/run.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/meroxa/turbine/golang/run.go b/cmd/meroxa/turbine/golang/run.go index 6242d9eac..9ab43b065 100644 --- a/cmd/meroxa/turbine/golang/run.go +++ b/cmd/meroxa/turbine/golang/run.go @@ -24,8 +24,7 @@ func (t *turbineGoCLI) Run(ctx context.Context) error { return err } - cmd := exec.Command("./" + appName) //nolint:gosec - cmd.Path = t.appPath + cmd := exec.Command(t.appPath + "/" + appName) //nolint:gosec output, err := cmd.CombinedOutput() if err != nil { t.logger.Error(ctx, string(output))