comparison doc/recipes.txt @ 706:d2e965fc31d4

On Windows, make `cmd.exe` built-ins and scripts execute through the shell. Closes #449 + generally improves handling for `<sh:exec file="mycript.bat">` type commands on Windows. Note that executing through Windows shell will throw off the rules for command-line quoting...
author osimons
date Tue, 20 Oct 2009 09:41:16 +0000
parents 0c4fec90c8e2
children 94a4be5a1f0f
comparison
equal deleted inserted replaced
704:9844af477a91 706:d2e965fc31d4
123 .. code-block:: xml 123 .. code-block:: xml
124 124
125 <sh:exec file="echo" args="o\\ne &quot;4 2&quot; \&quot;hi\ there\&quot;"/> 125 <sh:exec file="echo" args="o\\ne &quot;4 2&quot; \&quot;hi\ there\&quot;"/>
126 126
127 This will pass 3 arguments: ``o\ne`` + ``4 2`` + ``"hi there"``. 127 This will pass 3 arguments: ``o\ne`` + ``4 2`` + ``"hi there"``.
128
129 **Note:** On Windows, batch scripts and built-ins will execute through a shell.
130 This may affect quoting of arguments.
Copyright (C) 2012-2017 Edgewall Software