mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
escapeshellcmd() works on Windows for a looong time
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349978 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
5e803ed87f
commit
d4fc011c85
1 changed files with 10 additions and 2 deletions
|
@ -27,8 +27,9 @@
|
|||
Following characters are preceded by a backslash:
|
||||
<literal>&#;`|*?~<>^()[]{}$\</literal>, <literal>\x0A</literal>
|
||||
and <literal>\xFF</literal>. <literal>'</literal> and <literal>"</literal>
|
||||
are escaped only if they are not paired. In Windows, all these characters
|
||||
plus <literal>%</literal> and <literal>!</literal> are replaced by a space instead.
|
||||
are escaped only if they are not paired. On Windows, all these characters
|
||||
plus <literal>%</literal> and <literal>!</literal> are preceded by a caret
|
||||
(<literal>^</literal>).
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -105,6 +106,13 @@ system($escaped_command);
|
|||
Exclamation marks are replaced by spaces.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>5.3.0</entry>
|
||||
<entry>
|
||||
On Windows, the special characters are now properly escaped.
|
||||
Previously, they have been replaced with a space character.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
|
|
Loading…
Reference in a new issue