[Image-SIG] pdf to image

Fredrik Lundh fredrik at pythonware.com
Sun Jan 13 17:10:51 CET 2008


Carl Karsten wrote:

>>>  > OSError: [Errno 10] No child processes
 >>
>> does the "gs" command behave properly if you run it from the shell?
> 
> Yes.
> 
> It even behaves most of the time when run from subprocess.call(gs_command).

could it be this bug?

     http://bugs.python.org/issue1731717

if so, I guess switching to a plain old os.system would help.

quick fix: replace

     subprocess.call(gs_command)

with

     os.system(subprocess.list2cmdline(gs_command))

</F>



More information about the Image-SIG mailing list