Skip to content

Dashboard should visually differentiate when args are escaped #10048

@DamianEdwards

Description

@DamianEdwards

When adding an executable resource today, it's very easy to pass multiple args as a single string, leading to failures as they single string value will be escaped and passed as a single arg. The dashboard should visualize the escaped arg to make it easier to see how it's being passed to the executable.

For example, this will fail:

builder.AddExecutable("dotnet-ef", "dotnet", Environment.CurrentDirectory, "ef --help");

But this will succeed (assuming you have the dotnet-ef tool installed):

builder.AddExecutable("dotnet-ef", "dotnet", Environment.CurrentDirectory, "ef", "--help");

But they both show in the dashboard like this:

Image

We should change the dashboard so that escaped args (i.e. those with whitespace in them) are shown like this:

Image

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions