Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/pkg/cli/client/byoc/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ func runLocalCommand(ctx context.Context, dir string, env []string, cmd ...strin
command.Env = env
command.Stdout = os.Stdout
command.Stderr = os.Stderr
return command.Run()
// Start the process and do not wait for it to finish
return command.Start()
}

func DebugPulumi(ctx context.Context, env []string, cmd ...string) error {
Expand All @@ -72,8 +73,7 @@ func DebugPulumi(ctx context.Context, env []string, cmd ...string) error {
if err := runLocalCommand(ctx, dir, env, localCmd...); err != nil {
return err
}
// We always return an error to stop the CLI from "tailing" the cloud logs
return errors.New("local pulumi command succeeded; stopping")
return nil
}

func GetPrivateDomain(projectName string) string {
Expand Down
Loading