Files
MINGW-packages/mingw-w64-python-lxml/mingw-python-fix.patch
T
2017-06-17 08:24:34 +03:00

12 lines
435 B
Diff

--- lxml-3.8.0/setupinfo.py.orig 2017-06-16 21:11:57.898800000 +0400
+++ lxml-3.8.0/setupinfo.py 2017-06-16 21:41:20.905000000 +0400
@@ -324,7 +324,7 @@
if not cmd:
return ''
if args:
- cmd = ' '.join((cmd,) + args)
+ cmd = 'sh -c "'+' '.join((cmd,) + args)+'"'
import subprocess
p = subprocess.Popen(cmd, shell=True,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)