docutil/docsvg.py
changeset 1876 995df4804221
parent 1872 866fb3ab8778
child 1881 091005ec69c4
equal deleted inserted replaced
1875:62aaabbf8812 1876:995df4804221
    43 def open_win_svg(svgexepath, svgfile):
    43 def open_win_svg(svgexepath, svgfile):
    44     """ Open Inkscape on Windows platform """
    44     """ Open Inkscape on Windows platform """
    45     popenargs = [svgexepath]
    45     popenargs = [svgexepath]
    46     if svgfile is not None:
    46     if svgfile is not None:
    47         popenargs.append(svgfile)
    47         popenargs.append(svgfile)
    48     subprocess.Popen(popenargs).pid
    48     subprocess.Popen(popenargs)
    49 
    49 
    50 
    50 
    51 def open_lin_svg(svgexepath, svgfile):
    51 def open_lin_svg(svgexepath, svgfile):
    52     """ Open Inkscape on Linux platform """
    52     """ Open Inkscape on Linux platform """
    53     if os.path.isfile("/usr/bin/inkscape"):
    53     if os.path.isfile("/usr/bin/inkscape"):