docutil/docsvg.py
changeset 1734 750eeb7230a1
parent 1732 94ffe74e6895
child 1735 c02818d7e29f
equal deleted inserted replaced
1733:dea107dce0c4 1734:750eeb7230a1
    42     subprocess.Popen(popenargs).pid
    42     subprocess.Popen(popenargs).pid
    43 
    43 
    44 def open_lin_svg(svgexepath, svgfile):
    44 def open_lin_svg(svgexepath, svgfile):
    45     """ Open Inkscape on Linux platform """
    45     """ Open Inkscape on Linux platform """
    46     if os.path.isfile("/usr/bin/inkscape"):
    46     if os.path.isfile("/usr/bin/inkscape"):
    47         os.system("%s %s &"%(svgexepath , svgfile))
    47         os.system("%s %s &" % (svgexepath , svgfile))
    48     
    48     
    49 def open_svg(svgfile):
    49 def open_svg(svgfile):
    50     """ Generic function to open SVG file """
    50     """ Generic function to open SVG file """
    51     if wx.Platform == '__WXMSW__' :
    51     if wx.Platform == '__WXMSW__' :
    52         try:
    52         try: