Fixed up windows command quoting example
This commit is contained in:
parent
5f29cd5e60
commit
a2810f44a8
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ With those rules in mind, here are some examples of quoting::
|
||||||
argv[2] = unquoted-end-backslash\
|
argv[2] = unquoted-end-backslash\
|
||||||
|
|
||||||
# due to YAML and Ansible parsing '\"' must be written as '{% raw %}\\{% endraw %}"'
|
# due to YAML and Ansible parsing '\"' must be written as '{% raw %}\\{% endraw %}"'
|
||||||
- win_command: C:\temp\executable.exe C:\no\space\path "arg with end \ before end quote{% raw %]\\{% endraw %}"
|
- win_command: C:\temp\executable.exe C:\no\space\path "arg with end \ before end quote{% raw %}\\{% endraw %}"
|
||||||
|
|
||||||
argv[0] = C:\temp\executable.exe
|
argv[0] = C:\temp\executable.exe
|
||||||
argv[1] = C:\no\space\path
|
argv[1] = C:\no\space\path
|
||||||
|
|
Loading…
Reference in a new issue