Skip to content

Commit 3d07171

Browse files
authored
Merge pull request winpython#901 from stonebig/master
resolve the ampersand character problem
2 parents e18fe54 + bca874a commit 3d07171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,7 @@ def _create_batch_scripts_initial(self):
13531353
ReDim arr(WScript.Arguments.Count-1)
13541354
For i = 0 To WScript.Arguments.Count-1
13551355
Arg = WScript.Arguments(i)
1356-
If InStr(Arg, " ") > 0 Then Arg = chr(34) & Arg & chr(34)
1356+
If InStr(Arg, " ") > 0 or InStr(Arg, "&") > 0 Then Arg = chr(34) & Arg & chr(34)
13571357
arr(i) = Arg
13581358
Next
13591359

0 commit comments

Comments
 (0)