Hi Tim, thanks for your suggestions.
>Does it fail if you run it outside of Pythonwin? > No it doesn't. So I can ignore this error, as the script will normally run outside Pythonwin. > Are you sure you're >closing all of the pipes properly before starting a new one? > Yes, I explicitly close the pipes > Have you >tried this with the new "subprocess" module? > > Yes, but I have to investigate a bit more. In the first try gostscipt opens its own viewer for every file :-( Jürgen _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32