🐛 Fix launchpad
This commit is contained in:
@@ -167,6 +167,12 @@ func startSourceService(ctx context.Context, s config.Service, color string) {
|
||||
cmd := exec.CommandContext(ctx, parts[0], parts[1:]...)
|
||||
cmd.Dir = s.Path
|
||||
|
||||
env := os.Environ()
|
||||
for _, e := range s.Prod.Environment {
|
||||
env = append(env, os.ExpandEnv(e))
|
||||
}
|
||||
cmd.Env = env
|
||||
|
||||
runAndMonitorCommand(ctx, cmd, s.Name, prefix)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user