mailr12842 - /1.3/version.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on May 31, 2011 - 18:43:
Author: bugman
Date: Tue May 31 18:43:18 2011
New Revision: 12842

URL: http://svn.gna.org/viewcvs/relax?rev=12842&view=rev
Log:
Some fixes for the subprocess.Popen() calls on MS Windows.


Modified:
    1.3/version.py

Modified: 1.3/version.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/version.py?rev=12842&r1=12841&r2=12842&view=diff
==============================================================================
--- 1.3/version.py (original)
+++ 1.3/version.py Tue May 31 18:43:18 2011
@@ -44,7 +44,7 @@
         return
 
     # Try to run 'svn info'.
-    pipe = Popen('svn info', shell=True, stdin=PIPE, stdout=PIPE, 
stderr=PIPE, close_fds=True)
+    pipe = Popen('svn info', shell=True, stdin=PIPE, stdout=PIPE, 
stderr=PIPE, close_fds=False)
 
     # Errors.
     if pipe.stderr.readlines():
@@ -72,7 +72,7 @@
         return
 
     # Try to run 'svn info'.
-    pipe = Popen('svn info', shell=True, stdin=PIPE, stdout=PIPE, 
stderr=PIPE, close_fds=True)
+    pipe = Popen('svn info', shell=True, stdin=PIPE, stdout=PIPE, 
stderr=PIPE, close_fds=False)
 
     # Errors.
     if pipe.stderr.readlines():




Related Messages


Powered by MHonArc, Updated Tue May 31 19:00:01 2011