google-code-export / pydot

Automatically exported from code.google.com/p/pydot
MIT License
1 stars 0 forks source link

open console window while file generation #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
writing any file:
G.write_png("aaa.png")

expected:
 No con window
really:
 open console while dot command is executed

on windows XP pydot-1.0.25

can be corrected if 

in pydot.py line 1961 

        p = subprocess.Popen(
            cmdline,
            cwd=tmp_dir,
            stderr=subprocess.PIPE, stdout=subprocess.PIPE)

change to:

        p = subprocess.Popen(
            cmdline,
            cwd=tmp_dir,
            stderr=subprocess.PIPE, stdout=subprocess.PIPE,shell=1)

May be it's incorrect for outher OS?

Original issue reported on code.google.com by doza...@mail.ru on 11 Aug 2011 at 7:29

GoogleCodeExporter commented 9 years ago
I can't reproduce the problem. How are you running your code? from within an 
script or interactively from the interpreter?

Original comment by ero.carr...@gmail.com on 29 Dec 2011 at 11:48