Skip to content

The behavior of using a complete shell command and a shell command with parameters is inconsistent #533

Description

@ahaoboy

Similar to #531

This works

[shell]
program = "pwsh -nologo"
args = []

This doesn't

[shell]
program = "pwsh"
args = ["-nologo"]

If you start the msys2 command line with a command with parameters, it will exit rio and start a new windows window

# [shell]
# program = "C:\\msys64\\msys2_shell.cmd -defterm -here -no-start -mingw64  -use-full-path -shell fish"
# args =  []

[shell]
program = "C:\\msys64\\msys2_shell.cmd"
args = [
  "-defterm",
  "-here",
  "-no-start",
  "-ucrt64",
  "-use-full-path",
  "-shell",
  "fish",
]

I hope to be able to start the msys2 shell with parameters, so that the behavior will be consistent with the configuration of wt and vscode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions