Allow command line(s) without specifying the executable #7289
Labels
Issue-Feature
Complex enough to require an in depth planning process and actual budgeted, scheduled work.
Resolution-Duplicate
There's another issue on the tracker that's pretty much the same thing.
Right now, the
commandline
setting of Profile is only for executable. It has been a trick to add command lines as arguments to the executable. But it adds higher complexity to the whole statement. For those profiles that have source, it is nice ifcommandline
functions as the launching command lines without specifying the executable. It is a useful feature to automatically set up and open a docker environment in the terminal, or switching as admin.Example
{
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"hidden": false,
"name": "Ubuntu",
"source": "Windows.Terminal.Wsl",
"colorScheme": "UbuntuLegit",
"commandline": "sudo -s"
}
This will automatically launch the shell as the root user.
The text was updated successfully, but these errors were encountered: