Changeset 1986 in networkx-svn-archive


Ignore:
Timestamp:
07/31/11 16:03:57 (3 years ago)
Author:
aric
Message:

Double quote pygraphviz program name to handle spaces in path with Windows OS.
Addresses #591

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pygraphviz/trunk/pygraphviz/agraph.py

    r1981 r1986  
    12461246        Use keyword args to add additional arguments to graphviz programs. 
    12471247        """ 
    1248         runprog=self._get_prog(prog) 
     1248        runprog=r'"%s"'%self._get_prog(prog) 
    12491249        cmd=' '.join([runprog,args]) 
    12501250        p = subprocess.Popen(cmd,  
Note: See TracChangeset for help on using the changeset viewer.