Changeset 1553


Ignore:
Timestamp:
Nov 1, 2014 6:09:10 PM (7 years ago)
Author:
toby
Message:

fix .bat file for paths with spaces; start on svn -trust changes

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.BAT

    r874 r1553  
    1515@set gsasloc=%gsasloc:\*=\%
    1616@
    17 python %gsasloc%\GSASII.py %1
     17python "%gsasloc%\GSASII.py" "%1"
    1818@REM To keep the window from disappearing with any error messages
    1919pause
  • trunk/GSASIIpath.py

    r1513 r1553  
    211211    else:
    212212        cmd = [svn,'info',fpath,'--xml','-rHEAD']
    213     s = subprocess.Popen(cmd,
     213    s = subprocess.Popen(cmd+['--non-interactive', '--trust-server-cert'],
    214214                         stdout=subprocess.PIPE,stderr=subprocess.PIPE)
    215215    out,err = s.communicate()
     
    217217        print 'out=',out
    218218        print 'err=',err
    219         return None
     219        s = subprocess.Popen(cmd,
     220                            stdout=subprocess.PIPE,stderr=subprocess.PIPE)
     221        out,err = s.communicate()
     222        if err:
     223            print 'out=',out
     224            print 'err=',err
     225            return None
    220226    x = ET.fromstring(out)
    221227    for i in x.iter('entry'):
Note: See TracChangeset for help on using the changeset viewer.