Skip to content

Non cmd shells need their arguments escaped #16

@xt0rted

Description

@xt0rted

cmd doesn't need to be quoted, but sh, pwsh, etc. do and they also need to be escaped😳

process.StartInfo.Arguments =
isCmd
? $"/d /s /c {toExecute}"
: $"-c \"{toExecute}\"";

This should be fixed and published ahead of #10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions