Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration ShellQuoting

Defines how an argument should be quoted if it contains spaces or unsupported characters.

索引

Enumeration members(3)

Enumeration members(3)

Escape

Escape: = 1

Character escaping should be used. This for example uses \ on bash and ` on PowerShell.

Strong

Strong: = 2

Strong string quoting should be used. This for example uses " for Windows cmd and ' for bash and PowerShell. Strong quoting treats arguments as literal strings. Under PowerShell echo 'The value is $(2 * 3)' will print The value is $(2 * 3)

Weak

Weak: = 3

Weak string quoting should be used. This for example uses " for Windows cmd, bash and PowerShell. Weak quoting still performs some kind of evaluation inside the quoted string. Under PowerShell echo "The value is $(2 * 3)" will print The value is 6

友链:VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc. Maintained by 洛竹