Let's try this once more...

122c122
<             cmd_line = '"%s"' % cmd_line
---
>             cmd_line = '%s' % cmd_line
154c154
<                                         , shell=True
---
>                                         , shell=False if 'nt' == os.name else 
> True

Command line isn't being split, so shell=True is required for *nix.
________________________________________
From: Davidson, Josh
Sent: Sunday, August 12, 2012 4:40 PM
To: [email protected]
Subject: RE: pygccxml isn't working with Python 2.7 win64

Here is a patch that works for both 2.6 & 2.7:


D:\SimExternalInterfaces>diff 
C:\temp\pygccxml\pygccxml_dev\pygccxml\parser\source_reader.py 
C:\Python27\Lib\site-packages\pygccxml\parser\source_reader.py
122c122
<             cmd_line = '"%s"' % cmd_line
---
>             cmd_line = '%s' % cmd_line
154c154
<                                         , shell=True
---
>                                         , shell=False
_______________________________________________
Cplusplus-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to