summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index 79157b8186..b8b79b27a8 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -302,7 +302,7 @@ PHPAPI char *php_escape_shell_cmd(char *str)
#else
/* This is Windows specific for enviromental variables */
case '%':
- cmd[y++] = '';
+ cmd[y++] = ' ';
break;
#endif
case '#': /* This is character-set independent */