Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration ShellQuoting

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

Index

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

Generated by TypeDoc. Maintained by 紫升

Links: 搜外友链, 69中文网